Compartilhar via


Método EnumMembers

Returns a list of database users that are members of the database role.

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

Sintaxe

'Declaração
Public Function EnumMembers As StringCollection
'Uso
Dim instance As DatabaseRole
Dim returnValue As StringCollection

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

Valor de retorno

Tipo: System.Collections.Specialized. . :: . .StringCollection
A StringCollection system object value that contains information about the members of the database role.