共用方式為


SqlDeploymentOptions.IgnoreWithNocheckOnForeignKeys 屬性

Get or set boolean that specifies whether to exclude the CHECK|NO CHECK option of a FOREIGN KEY constraint object from consideration when comparing the source and target model.

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

語法

'宣告
Public ReadOnly Property IgnoreWithNocheckOnForeignKeys As Boolean 
    Get
'用途
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

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

屬性值

型別:System.Boolean
True to ignore the CHECK|NO CHECK option of a FOREIGN KEY constraint object; otherwise, false. Default is false.

請參閱

參考

SqlDeploymentOptions 類別

Microsoft.SqlServer.Dac.Deployment 命名空間