Database.IsMember Method
Determines whether the specified group or role belongs to the database.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Parameters
- groupOrRole
- Type: System.String
A String value that specifies the name of the group or role.
Return Value
Type: System.BooleanA 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.
