Delen via


SqlDeploymentOptions.DropObjectsNotInSource Property

Get or set boolean that specifies whether objects that exist in the target but not source should be dropped during deployment.

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

Syntax

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

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

Property Value

Type: System.Boolean
True if objects that exist in the target but not source should be dropped; otherwise false. Default is false.

See Also

Reference

SqlDeploymentOptions Class

Microsoft.SqlServer.Dac.Deployment Namespace