Méthode ServerRole.EnumMemberNames

Gets a StringCollection which contains the names of all the logins which belong to this role.

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

Syntaxe

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

Valeur de retour

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

Voir aussi

Référence

ServerRole Classe

Espace de noms Microsoft.SqlServer.Management.Smo