Поделиться через


Метод ServerRole.EnumContainingRoleNames

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Function EnumContainingRoleNames As StringCollection
'Применение
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

Возвращаемое значение

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

См. также

Справочник

ServerRole Класс

Пространство имен Microsoft.SqlServer.Management.Smo