Partager via


EnumObjectPermissions méthode

Enumerates a list of object permissions for the Service Broker service.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Broker
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function EnumObjectPermissions As ObjectPermissionInfo()
'Utilisation
Dim instance As BrokerService
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[]

Valeur de retour

Type : array<Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionInfo> [] () [] []
An array of ObjectPermissionInfo objects that contains object permission information for the Service Broker service.

Implémente

IObjectPermission. . :: . .EnumObjectPermissions() () () ()