Metodo Schema.EnumObjectPermissions
Enumerates a list of object permissions for the schema.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Function EnumObjectPermissions As ObjectPermissionInfo()
'Utilizzo
Dim instance As Schema
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[]
Valore restituito
Tipo: array<Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
An array of ObjectPermissionInfo objects that contains object permission information for the schema.
Implementa
IObjectPermission.EnumObjectPermissions()
Esempi
Creazione, modifica e rimozione di schemi
Vedere anche
Riferimento
Overload EnumObjectPermissions
Spazio dei nomi Microsoft.SqlServer.Management.Smo