Méthode EnumObjectPermissions
Enumerates a list of object permissions for the SMO object.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Function EnumObjectPermissions As ObjectPermissionInfo()
'Utilisation
Dim instance As IObjectPermission
Dim returnValue As ObjectPermissionInfo()
returnValue = instance.EnumObjectPermissions()
ObjectPermissionInfo[] EnumObjectPermissions()
array<ObjectPermissionInfo^>^ EnumObjectPermissions()
abstract EnumObjectPermissions : unit -> ObjectPermissionInfo[]
function EnumObjectPermissions() : ObjectPermissionInfo[]
Valeur de retour
Type : array<Microsoft.SqlServer.Management.Smo. . :: . .ObjectPermissionInfo> [] () [] []
An array of ObjectPermissionInfo objects that contains object permission information for the SMO object.