共用方式為


CheckIdentityValue 方法

Verifies the integrity of all identity columns in the referenced table.

命名空間:  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
A StringCollection system object value that contains the current identity value and the current column value.

備註

This method is functionally equivalent to the Transact-SQL CHECK IDENT statement.