Compartilhar via


Método ServerRole.EnumMemberNames

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Function EnumMemberNames As StringCollection
'Uso
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

Valor de retorno

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

Consulte também

Referência

ServerRole Classe

Namespace Microsoft.SqlServer.Management.Smo