共用方式為


MajorObject.Refresh Method (Boolean, RefreshType)

Updates current object from server definitions and loaded dependent objects if specified.

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
Public Sub Refresh ( _
    full As Boolean, _
    type As RefreshType _
)
public void Refresh (
    bool full,
    RefreshType type
)
public:
virtual void Refresh (
    bool full, 
    RefreshType type
) sealed
public final void Refresh (
    boolean full, 
    RefreshType type
)
public final function Refresh (
    full : boolean, 
    type : RefreshType
)

參數

  • full
    Specifies a Boolean value to refresh dependent objects if true.
  • type
    Specifies a RefreshType value that determines which dependent objects to refresh.

備註

If current object on the server has changed, the new definition will be instantiated. If specified, the loaded dependent objects will be changed to the new definition.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

MajorObject Class
MajorObject Members
Microsoft.AnalysisServices Namespace