Sdílet prostřednictvím


SqlDeploymentOptions.ScriptDatabaseCollation Property

Get or set boolean that specifies whether the target database should be altered to match the source model's collation.

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

Syntax

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

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

Property Value

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

See Also

Reference

SqlDeploymentOptions Class

Microsoft.SqlServer.Dac.Deployment Namespace