다음을 통해 공유


IsMember 메서드

Determines whether the specified group or role belongs to the database.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Function IsMember ( _
    groupOrRole As String _
) As Boolean
‘사용 방법
Dim instance As Database
Dim groupOrRole As String
Dim returnValue As Boolean

returnValue = instance.IsMember(groupOrRole)
public bool IsMember(
    string groupOrRole
)
public:
bool IsMember(
    String^ groupOrRole
)
member IsMember : 
        groupOrRole:string -> bool 
public function IsMember(
    groupOrRole : String
) : boolean

매개 변수

반환 값

형식: System. . :: . .Boolean
A Boolean value that specifies whether the specified group or role is associated with the database.
If True, the specified group or role belongs to the database.
If False, the specified group or role belongs to the database.