EnumObjectPermissions-Methode

Enumerates a list of object permissions for the SMO object.

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

Syntax

'Declaration
Function EnumObjectPermissions As ObjectPermissionInfo()
'Usage
Dim instance As IObjectPermission
Dim returnValue As ObjectPermissionInfo()

returnValue = instance.EnumObjectPermissions()
ObjectPermissionInfo[] EnumObjectPermissions()
array<ObjectPermissionInfo^>^ EnumObjectPermissions()
abstract EnumObjectPermissions : unit -> ObjectPermissionInfo[] 
function EnumObjectPermissions() : ObjectPermissionInfo[]

Rückgabewert

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