DacDeployOptions.DropPermissionsNotInSource Property

Get or set boolean that specifies whether to drop all permissions that do not exist in the source model.

Namespace:  Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)

Syntax

'Declaration
Public Property DropPermissionsNotInSource As Boolean 
    Get 
    Set
'Usage
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.DropPermissionsNotInSource

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

Property Value

Type: System.Boolean
True to drop permissions not in the source model; otherwise, false. Default is false.

See Also

Reference

DacDeployOptions Class

Microsoft.SqlServer.Dac Namespace