Share via


ServerRole.EnumMemberNames Method

Gets a StringCollection which contains the names of all the logins which belong to this role.

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

Syntax

'Declaration
Public Function EnumMemberNames As StringCollection
'Usage
Dim instance As ServerRole 
Dim returnValue As StringCollection 

returnValue = instance.EnumMemberNames()
public StringCollection EnumMemberNames()
public:
StringCollection^ EnumMemberNames()
member EnumMemberNames : unit -> StringCollection
public function EnumMemberNames() : StringCollection

Return Value

Type: System.Collections.Specialized.StringCollection
A StringCollection which contains the names of all the logins which belong to this ServerRole.

See Also

Reference

ServerRole Class

Microsoft.SqlServer.Management.Smo Namespace