共用方式為


DacDeployOptions.ScriptDatabaseCollation 屬性

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

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

語法

'宣告
Public Property ScriptDatabaseCollation As Boolean 
    Get 
    Set
'用途
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.ScriptDatabaseCollation

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

屬性值

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

請參閱

參考

DacDeployOptions 類別

Microsoft.SqlServer.Dac 命名空間