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.