View.Refresh Method (Boolean)

Refreshes the View object properties with the option to refresh metadata.

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

public void Refresh(
	bool refreshViewMetadata
)

Parameters

refreshViewMetadata
Type: System.Boolean
A Boolean value that specifies whether to refresh view metadata.
If True, metadata is refreshed.
If False, metadata is not refreshed.

Community Additions

ADD
Show: