共用方式為


Refresh 方法 (Boolean)

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Refresh ( _
    refreshViewMetadata As Boolean _
)
'用途
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
)

參數

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