Condividi tramite


Metodo ServerRole.EnumContainingRoleNames

Gets a StringCollection which contains the names of all the ServerRole to which this ServerRole belongs.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function EnumContainingRoleNames As StringCollection
'Utilizzo
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

Valore restituito

Tipo: System.Collections.Specialized.StringCollection
A StringCollection which contains the names of all the ServerRole to which this ServerRole belongs.

Vedere anche

Riferimento

ServerRole Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo