Compartir a través de


EnumObjectPermissions Método

Enumerates a list of object permissions for the SMO object.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
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 devuelto

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