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)

Syntax

'Declaration
Public Sub Refresh ( _
    refreshViewMetadata As Boolean _
)
'Usage
Dim instance As View
Dim refreshViewMetadata As Boolean

instance.Refresh(refreshViewMetadata)
public void Refresh(
    bool refreshViewMetadata
)
public:
void Refresh(
    bool refreshViewMetadata
)
member Refresh : 
        refreshViewMetadata:bool -> unit 
public function Refresh(
    refreshViewMetadata : boolean
)

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.