Partager via


IsValid (Role Interface)

[!REMARQUE]

  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

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

Notes

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

Exemple

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

Dim bRet As Boolean
bRet = RoleObject.IsValid

Voir aussi

Référence