MajorObject.Update Method (UpdateOptions, UpdateMode, XmlaWarningCollection)
Applies To: SQL Server (starting with 2016)
Updates server definition of current object to actual values using the specified options to update dependent objects and reports any warnings from operation.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public void Update(
UpdateOptions options,
UpdateMode mode,
XmlaWarningCollection warnings
)
public:
void Update(
UpdateOptions options,
UpdateMode mode,
XmlaWarningCollection^ warnings
)
member Update :
options:UpdateOptions *
mode:UpdateMode *
warnings:XmlaWarningCollection -> unit
Public Sub Update (
options As UpdateOptions,
mode As UpdateMode,
warnings As XmlaWarningCollection
)
Parameters
options
Type: Microsoft.AnalysisServices.UpdateOptionsSpecifies an UpdateOptions value that determines how to update dependent objects.
mode
Type: Microsoft.AnalysisServices.UpdateModeSpecifies an UpdateMode value that determines what to do if dependent objects exists.
warnings
Type: Microsoft.AnalysisServices.XmlaWarningCollectionSpecifies an XmlaWarningCollection with all warnings resulting from update operation.
See Also
Update Overload
MajorObject Class
Microsoft.AnalysisServices Namespace
Return to top