共用方式為


SqlDeploymentOptions.ScriptDatabaseOptions 屬性

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

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

語法

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

屬性值

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

請參閱

參考

SqlDeploymentOptions 類別

Microsoft.SqlServer.Dac.Deployment 命名空間