Partilhar via


Método SearchPropertyList.EnumObjectPermissions

Enumerates a list of object permissions for the SearchPropertyList.

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

Sintaxe

'Declaração
Public Function EnumObjectPermissions As ObjectPermissionInfo()
'Uso
Dim instance As SearchPropertyList 
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[]

Valor de retorno

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

Implementa

IObjectPermission.EnumObjectPermissions()

Consulte também

Referência

SearchPropertyList Classe

Sobrecarregado EnumObjectPermissions

Namespace Microsoft.SqlServer.Management.Smo