Freigeben über


EnumObjectPermissions-Methode

Enumerates a list of permissions for the endpoint.

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

Syntax

'Declaration
Public Function EnumObjectPermissions As ObjectPermissionInfo()
'Usage
Dim instance As Endpoint
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[]

Rückgabewert

Typ: array<Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionInfo> [] () [] []
An ObjectPermissionInfo object array value that contains a list of permissions for the endpoint.

Implementiert

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