次の方法で共有


CheckIdentityValue メソッド

参照先テーブルのすべての ID 列について整合性を検証します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Function CheckIdentityValue As StringCollection
'使用
Dim instance As Table
Dim returnValue As StringCollection

returnValue = instance.CheckIdentityValue()
public StringCollection CheckIdentityValue()
public:
StringCollection^ CheckIdentityValue()
member CheckIdentityValue : unit -> StringCollection 
public function CheckIdentityValue() : StringCollection

戻り値

型: System.Collections.Specialized. . :: . .StringCollection
現在の ID 値と現在の列の値を含む StringCollection システム オブジェクト値。

説明

このメソッドは、機能的には Transact-SQL の CHECK IDENT ステートメントと同等です。