MajorObject.Drop Method (DropOptions, XmlaWarningCollection, ImpactDetailCollection, Boolean)

Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable.

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
Public Sub Drop ( _
    options As DropOptions, _
    warnings As XmlaWarningCollection, _
    impactResult As ImpactDetailCollection, _
    analyzeImpactOnly As Boolean _
)
public void Drop (
    DropOptions options,
    XmlaWarningCollection warnings,
    ImpactDetailCollection impactResult,
    bool analyzeImpactOnly
)
public:
void Drop (
    DropOptions options, 
    XmlaWarningCollection^ warnings, 
    ImpactDetailCollection^ impactResult, 
    bool analyzeImpactOnly
)
public void Drop (
    DropOptions options, 
    XmlaWarningCollection warnings, 
    ImpactDetailCollection impactResult, 
    boolean analyzeImpactOnly
)
public function Drop (
    options : DropOptions, 
    warnings : XmlaWarningCollection, 
    impactResult : ImpactDetailCollection, 
    analyzeImpactOnly : boolean
)

Parameters

  • options
    Defines the behavior of the drop method on dependent objects.
  • warnings
    Specifies an XmlaWarningCollection variable to hold all resulting warnings from drop operation.
  • impactResult
    Specifies an ImpactDetailCollection variable to hold results for all affected objects in current drop operation.
  • analyzeImpactOnly
    If true, only the impact analysis is executed, otherwise drop operation is executed.

Remarks

If analyzeImpactOnly is true, no drop 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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MajorObject Class
MajorObject Members
Microsoft.AnalysisServices Namespace