Freigeben über


ServerRole.EnumContainingRoleNames-Methode

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

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

Syntax

'Declaration
Public Function EnumContainingRoleNames As StringCollection
'Usage
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

Rückgabewert

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

Siehe auch

Verweis

ServerRole Klasse

Microsoft.SqlServer.Management.Smo-Namespace