Compartilhar via


Método CheckIdentityValue

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

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

Sintaxe

'Declaração
Public Function CheckIdentityValue As StringCollection
'Uso
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

Valor de retorno

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

Comentários

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