Refresh Method

SQLServer.Database.Table Object

Description

Updates Table properties with current information from SQL Server. This method will also refresh all the collections of this Table.

Visual Basic

Table.Refresh

C++

HRESULT pTable->Refresh ( );

Remarks

SQL-DMO will release only those objects in the Table collections that have been removed from SQL Server. This invalidates any object variables you have that refer to objects in the refreshed Table collections that have been removed from SQL Server.