IsMember 메서드
Verifies whether the database user is a member of the specified role.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
Public Function IsMember ( _
role As String _
) As Boolean
‘사용 방법
Dim instance As User
Dim role As String
Dim returnValue As Boolean
returnValue = instance.IsMember(role)
public bool IsMember(
string role
)
public:
bool IsMember(
String^ role
)
member IsMember :
role:string -> bool
public function IsMember(
role : String
) : boolean
매개 변수
- role
형식: System. . :: . .String
A String value that specifies the role.
반환 값
형식: System. . :: . .Boolean
A Boolean value that specifies whether the database user is a member of the role.
If True, the database user is a member of the role.
If False (default), the database user is not a member of the role.