Sdílet prostřednictvím


SqlDeploymentOptions.ScriptDatabaseOptions Property

Get or set boolean that specifies whether the database options in the target database should be updated to match the source model.

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

Syntax

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

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

Property Value

Type: System.Boolean
True to alter the target database's options; otherwise, false. Default is true.

See Also

Reference

SqlDeploymentOptions Class

Microsoft.SqlServer.Dac.Deployment Namespace