Share via


ObjectPermissionSet.ViewChangeTracking Property

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.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Property ViewChangeTracking As Boolean 
    Get 
    Set
'Usage
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)

Property Value

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

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

ObjectPermissionSet Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Enable and Disable Change Tracking (SQL Server)