IsValid (Role Interface)
From Analysis Services Programming
Analysis Services Programming
IsValid (Role Interface)
The IsValid property of the Role interface indicates whether the role object structure is valid.
Applies To
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