Compartilhar via


Método EnumServerRoleMembers

Enumerates a list of members of the fixed server role.

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

Sintaxe

'Declaração
Public Function EnumServerRoleMembers As StringCollection
'Uso
Dim instance As ServerRole
Dim returnValue As StringCollection

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

Valor de retorno

Tipo: System.Collections.Specialized. . :: . .StringCollection
A StringCollection system object value that contains an enumerated list of information about the members of the fixed server role.