CheckIdentityValue-Methode

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function CheckIdentityValue As StringCollection
'Usage
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

Rückgabewert

Typ: System.Collections.Specialized. . :: . .StringCollection
A StringCollection system object value that contains the current identity value and the current column value.

Hinweise

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