Condividi tramite


Metodo EnumObjectPermissions

Enumerates a list of object permissions for the SMO object.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Function EnumObjectPermissions As ObjectPermissionInfo()
'Utilizzo
Dim instance As IObjectPermission
Dim returnValue As ObjectPermissionInfo()

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

Valore restituito

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