Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Database.IsMember Method

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public bool IsMember(
	string groupOrRole
)

Parameters

groupOrRole
Type: String
A String value that specifies the name of the group or role.

Return Value

Type: 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 does not belong to the database.

Community Additions

Show:
© 2015 Microsoft