Compartir a través de


EnumObjectPermissions Método

Returns a list of object permissions assigned to the referenced database role.

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

Sintaxis

'Declaración
Public Function EnumObjectPermissions As ObjectPermissionInfo()
'Uso
Dim instance As DatabaseRole
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 devuelto

Tipo: array<Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionInfo> [] () [] []
An array of ObjectPermissionInfo object values that contain information about object permissions assigned to the database role.

Implementa

IObjectPermission. . :: . .EnumObjectPermissions() () () ()