Partilhar via


Método EnumObjectPermissions

Enumerates a list of object permissions for the SMO object.

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

Sintaxe

'Declaração
Function EnumObjectPermissions As ObjectPermissionInfo()
'Uso
Dim instance As IObjectPermission
Dim returnValue As ObjectPermissionInfo()

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

Valor de retorno

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