Метод EnumObjectPermissions
Enumerates a list of object permissions for the service contract.
Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Function EnumObjectPermissions As ObjectPermissionInfo()
'Применение
Dim instance As ServiceContract
Dim returnValue As ObjectPermissionInfo()
returnValue = instance.EnumObjectPermissions()
public ObjectPermissionInfo[] EnumObjectPermissions()
public:
virtual array<ObjectPermissionInfo^>^ EnumObjectPermissions() sealed
abstract EnumObjectPermissions : unit -> ObjectPermissionInfo[]
override EnumObjectPermissions : unit -> ObjectPermissionInfo[]
public final function EnumObjectPermissions() : ObjectPermissionInfo[]
Возвращаемое значение
Тип array<Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionInfo> [] () [] []
An array of ObjectPermissionInfo objects that contains object permission information for the service contract.