Name (Role Interface)

Analysis Services Programming

Analysis Services Programming

Name (Role Interface)

The Name property of the Role interface contains the name of the role object.

Applies To

clsCubeRole

clsDatabaseRole

clsMiningModelRole

Data Type

String

Access

Read/write (read-only after the object has been named)

Example

Use the following code to set a role object name:

RoleObject.Name = "Sales and Marketing"

See Also

Role Interface