MajorObject.Update 方法 (UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection, Boolean)

Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation. If analyzeImpactOnly is true, an impact analysis operation is performed with no update operation.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Sub Update ( _
    options As UpdateOptions, _
    mode As UpdateMode, _
    warnings As XmlaWarningCollection, _
    impactResult As ImpactDetailCollection, _
    analyzeImpactOnly As Boolean _
)
用法
Dim instance As MajorObject 
Dim options As UpdateOptions 
Dim mode As UpdateMode 
Dim warnings As XmlaWarningCollection 
Dim impactResult As ImpactDetailCollection 
Dim analyzeImpactOnly As Boolean

instance.Update(options, mode, warnings, _
    impactResult, analyzeImpactOnly)
public void Update(
    UpdateOptions options,
    UpdateMode mode,
    XmlaWarningCollection warnings,
    ImpactDetailCollection impactResult,
    bool analyzeImpactOnly
)
public:
void Update(
    UpdateOptions options, 
    UpdateMode mode, 
    XmlaWarningCollection^ warnings, 
    ImpactDetailCollection^ impactResult, 
    bool analyzeImpactOnly
)
member Update : 
        options:UpdateOptions * 
        mode:UpdateMode * 
        warnings:XmlaWarningCollection * 
        impactResult:ImpactDetailCollection * 
        analyzeImpactOnly:bool -> unit
public function Update(
    options : UpdateOptions, 
    mode : UpdateMode, 
    warnings : XmlaWarningCollection, 
    impactResult : ImpactDetailCollection, 
    analyzeImpactOnly : boolean
)

参数

  • analyzeImpactOnly
    类型:System.Boolean
    If true, only the impact analysis is executed, otherwise update operation is executed.

注释

If analyzeImpactOnly is true, no update operation is executed, only the impact analysis is done.

请参阅

参考

MajorObject 类

Update 重载

Microsoft.AnalysisServices 命名空间