MajorObject.Update 方法 (UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection)
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.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Sub Update ( _
options As UpdateOptions, _
mode As UpdateMode, _
warnings As XmlaWarningCollection, _
impactResult As ImpactDetailCollection _
)
'用途
Dim instance As MajorObject
Dim options As UpdateOptions
Dim mode As UpdateMode
Dim warnings As XmlaWarningCollection
Dim impactResult As ImpactDetailCollection
instance.Update(options, mode, warnings, _
impactResult)
public void Update(
UpdateOptions options,
UpdateMode mode,
XmlaWarningCollection warnings,
ImpactDetailCollection impactResult
)
public:
void Update(
UpdateOptions options,
UpdateMode mode,
XmlaWarningCollection^ warnings,
ImpactDetailCollection^ impactResult
)
member Update :
options:UpdateOptions *
mode:UpdateMode *
warnings:XmlaWarningCollection *
impactResult:ImpactDetailCollection -> unit
public function Update(
options : UpdateOptions,
mode : UpdateMode,
warnings : XmlaWarningCollection,
impactResult : ImpactDetailCollection
)
參數
- options
型別:Microsoft.AnalysisServices.UpdateOptions
Specifies an UpdateOptions value that determines how to update dependent objects.
- mode
型別:Microsoft.AnalysisServices.UpdateMode
Specifies an UpdateMode value that determines what to do if dependent objects exist.
- warnings
型別:Microsoft.AnalysisServices.XmlaWarningCollection
Specifies an XmlaWarningCollection with all warnings resulting from update operation.
- impactResult
型別:Microsoft.AnalysisServices.ImpactDetailCollection
Specifies an ImpactDetailCollection with all affected objects from update operation.