共用方式為


SqlDeploymentOptions.ScriptDatabaseCollation 屬性

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

命名空間:  Microsoft.SqlServer.Dac.Deployment
組件:  Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)

語法

'宣告
Public ReadOnly Property ScriptDatabaseCollation As Boolean 
    Get
'用途
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

屬性值

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

請參閱

參考

SqlDeploymentOptions 類別

Microsoft.SqlServer.Dac.Deployment 命名空間