Dela via


MajorObject.Refresh Method (Boolean, RefreshType)

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Sub Refresh ( _
    full As Boolean, _
    type As RefreshType _
)
'Usage
Dim instance As MajorObject
Dim full As Boolean
Dim type As RefreshType

instance.Refresh(full, type)
public void Refresh(
    bool full,
    RefreshType type
)
public:
virtual void Refresh(
    bool full, 
    RefreshType type
) sealed
abstract Refresh : 
        full:bool * 
        type:RefreshType -> unit 
override Refresh : 
        full:bool * 
        type:RefreshType -> unit 
public final function Refresh(
    full : boolean, 
    type : RefreshType
)

Parameters

  • full
    Type: System.Boolean
    Specifies a Boolean value to refresh dependent objects if true.

Remarks

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.