共用方式為


DoAlterWithNoCheck Method

未來的 Microsoft SQL Server 發行版本將不再提供此功能。請避免在新的開發工作中使用此功能,並計劃修改目前使用此功能的應用程式。

The DoAlterWithNoCheck method marks the end of a unit of change for the object referenced and submits changes made to property values.

語法

object
.DoAlterWithNoCheck( )

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT DoAlterWithNoCheck( );

備註

The WITH NOCHECK clause of the Transact-SQL ALTER TABLE statement disables existing value check when adding a constraint to a table containing data, optimizing constraint implementation. When using SQL Distributed Management Objects (SQL-DMO) to create constraints on existing tables, use DoAlterWithNoCheck to force WITH NOCHECK behavior and optimize constraint implementation.

Applies To:

Table Object

 

請參閱

其他資源

ALTER TABLE (Transact-SQL)

說明及資訊

取得 SQL Server 2005 協助