Compartir a través de


CheckIdentityValue Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
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 devuelto

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

Notas

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