Sdílet prostřednictvím


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 _
)
'Usage
Dim instance As MajorObject 
Dim options As DropOptions 
Dim warnings As XmlaWarningCollection 
Dim impactResult As ImpactDetailCollection 
Dim analyzeImpactOnly As Boolean

instance.Drop(options, warnings, impactResult, _
    analyzeImpactOnly)
public void Drop(
    DropOptions options,
    XmlaWarningCollection warnings,
    ImpactDetailCollection impactResult,
    bool analyzeImpactOnly
)
public:
void Drop(
    DropOptions options, 
    XmlaWarningCollection^ warnings, 
    ImpactDetailCollection^ impactResult, 
    bool analyzeImpactOnly
)
member Drop : 
        options:DropOptions * 
        warnings:XmlaWarningCollection * 
        impactResult:ImpactDetailCollection * 
        analyzeImpactOnly:bool -> unit
public function Drop(
    options : DropOptions, 
    warnings : XmlaWarningCollection, 
    impactResult : ImpactDetailCollection, 
    analyzeImpactOnly : boolean
)

Parameters

  • analyzeImpactOnly
    Type: System.Boolean
    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.

See Also

Reference

MajorObject Class

Drop Overload

Microsoft.AnalysisServices Namespace