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:

関連項目

参照