Méthode ServerRole.EnumContainingRoleNames
Gets a StringCollection which contains the names of all the ServerRole to which this ServerRole belongs.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function EnumContainingRoleNames As StringCollection
'Utilisation
Dim instance As ServerRole
Dim returnValue As StringCollection
returnValue = instance.EnumContainingRoleNames()
public StringCollection EnumContainingRoleNames()
public:
StringCollection^ EnumContainingRoleNames()
member EnumContainingRoleNames : unit -> StringCollection
public function EnumContainingRoleNames() : StringCollection
Valeur de retour
Type : System.Collections.Specialized.StringCollection
A StringCollection which contains the names of all the ServerRole to which this ServerRole belongs.