Freigeben über


ServerRole.EnumMemberNames-Methode

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

Rückgabewert

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

Siehe auch

Verweis

ServerRole Klasse

Microsoft.SqlServer.Management.Smo-Namespace