Share via


IsValid (Role Interface)

Note

  This feature will be removed in the next version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible.

The IsValid property of the Role interface indicates whether the role object structure is valid.

Applies To:clsCubeRole, clsDatabaseRole, clsMiningModelRole

Data Type

Boolean

Access

Read-only

Remarks

A role object is valid if the Name and UsersList properties are not empty strings and if its Parent property is valid.

Example

Use the following code to return a role object validity status:

Dim bRet As Boolean
bRet = RoleObject.IsValid

See Also

Reference