Condividi tramite


MajorObject.Update Method (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.

Spazio dei nomi: Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Sintassi

'Dichiarazione
Public Sub Update ( _
    options As UpdateOptions, _
    mode As UpdateMode, _
    warnings As XmlaWarningCollection, _
    impactResult As ImpactDetailCollection, _
    analyzeImpactOnly As Boolean _
)
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
)
public void Update (
    UpdateOptions options, 
    UpdateMode mode, 
    XmlaWarningCollection warnings, 
    ImpactDetailCollection impactResult, 
    boolean analyzeImpactOnly
)
public function Update (
    options : UpdateOptions, 
    mode : UpdateMode, 
    warnings : XmlaWarningCollection, 
    impactResult : ImpactDetailCollection, 
    analyzeImpactOnly : boolean
)

Parametri

  • options
    Specifies an UpdateOptions value that determines how to update dependent objects.
  • mode
    Specifies an UpdateMode value that determines what to do if dependent objects exist.
  • analyzeImpactOnly
    If true, only the impact analysis is executed, otherwise update operation is executed.

Osservazioni

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

MajorObject Class
MajorObject Members
Microsoft.AnalysisServices Namespace