Export (0) Print
Expand All

Login.ListMembers Method

Returns a list of the roles of which the login account is a member.

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

public StringCollection ListMembers()

Return Value

Type: StringCollection
A StringCollection object value that contains a list of role names of which the login account is a member.

Community Additions

Show:
© 2015 Microsoft