DacDeployOptions.DropRoleMembersNotInSource Property

Get or set boolean that specifies whether to drop all role memberships 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 DropRoleMembersNotInSource As Boolean 
    Get 
    Set
'Usage
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.DropRoleMembersNotInSource

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

Property Value

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

See Also

Reference

DacDeployOptions Class

Microsoft.SqlServer.Dac Namespace