次の方法で共有


IsValid (Role Interface)

注意

  この機能は、Microsoft SQL Server の次のバージョンで削除されます。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションはできるだけ早く修正してください。

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

説明

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

使用例

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

Dim bRet As Boolean
bRet = RoleObject.IsValid

関連項目

参照