Delen via


SqlDeploymentOptions.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.Deployment
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public ReadOnly Property DropRoleMembersNotInSource As Boolean 
    Get
'Usage
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

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

Property Value

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

See Also

Reference

SqlDeploymentOptions Class

Microsoft.SqlServer.Dac.Deployment Namespace