Méthode View.EnumColumnPermissions (ObjectPermissionSet)
Enumerates a list of column permissions for a specified permission on the view.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function EnumColumnPermissions ( _
permissions As ObjectPermissionSet _
) As ObjectPermissionInfo()
'Utilisation
Dim instance As View
Dim permissions As ObjectPermissionSet
Dim returnValue As ObjectPermissionInfo()
returnValue = instance.EnumColumnPermissions(permissions)
public ObjectPermissionInfo[] EnumColumnPermissions(
ObjectPermissionSet permissions
)
public:
array<ObjectPermissionInfo^>^ EnumColumnPermissions(
ObjectPermissionSet^ permissions
)
member EnumColumnPermissions :
permissions:ObjectPermissionSet -> ObjectPermissionInfo[]
public function EnumColumnPermissions(
permissions : ObjectPermissionSet
) : ObjectPermissionInfo[]
Paramètres
- permissions
Type : Microsoft.SqlServer.Management.Smo.ObjectPermissionSet
An ObjectPermissionSet value that specifies the permission.
Valeur de retour
Type : array<Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
An array of ObjectPermissionInfo objects that contains column permission information for the specified permission on the view.
Exemples
Création, modification et suppression de vues
Voir aussi
Référence
Surcharge EnumColumnPermissions
Espace de noms Microsoft.SqlServer.Management.Smo