Partager via


Propriété ObjectPermissionSet.ViewChangeTracking

Gets or sets the Boolean property value that specifies whether to include the VIEW CHANGE TRACKING permission in the permission set. This permission lets the grantee view the tracking information for a database object.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Property ViewChangeTracking As Boolean 
    Get 
    Set
'Utilisation
Dim instance As ObjectPermissionSet 
Dim value As Boolean 

value = instance.ViewChangeTracking

instance.ViewChangeTracking = value
public bool ViewChangeTracking { get; set; }
public:
property bool ViewChangeTracking {
    bool get ();
    void set (bool value);
}
member ViewChangeTracking : bool with get, set
function get ViewChangeTracking () : boolean 
function set ViewChangeTracking (value : boolean)

Valeur de propriété

Type : System.Boolean
True if the ObjectPermissionSet includes the VIEW CHANGE TRACKING permission in the permission set; otherwise, false.

Exemples

Octroi, révocation et refus d'autorisations

Voir aussi

Référence

ObjectPermissionSet Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Activer et désactiver le suivi des modifications (SQL Server)