MajorObject.Update-Methode (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.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Update ( _
options As UpdateOptions, _
mode As UpdateMode, _
warnings As XmlaWarningCollection, _
impactResult As ImpactDetailCollection, _
analyzeImpactOnly As Boolean _
)
'Usage
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
)
Parameter
- options
Typ: Microsoft.AnalysisServices.UpdateOptions
Specifies an UpdateOptions value that determines how to update dependent objects.
- mode
Typ: Microsoft.AnalysisServices.UpdateMode
Specifies an UpdateMode value that determines what to do if dependent objects exist.
- warnings
Typ: Microsoft.AnalysisServices.XmlaWarningCollection
Specifies an XmlaWarningCollection with all warnings resulting from update operation.
- impactResult
Typ: Microsoft.AnalysisServices.ImpactDetailCollection
Specifies an ImpactDetailCollection with all warnings resulting from update operation.
- analyzeImpactOnly
Typ: System.Boolean
If true, only the impact analysis is executed, otherwise update operation is executed.
Hinweise
If analyzeImpactOnly is true, no update operation is executed, only the impact analysis is done.