Méthode EnumServerRoleMembers

Enumerates a list of members of the fixed server role.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function EnumServerRoleMembers As StringCollection
'Utilisation
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

Valeur de retour

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