Drop Method (DropOptions, XmlaWarningCollection, ImpactDetailCollection, Boolean)

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)

public void Drop(
	DropOptions options,
	XmlaWarningCollection warnings,
	ImpactDetailCollection impactResult,
	bool analyzeImpactOnly


Type: Microsoft.AnalysisServices.DropOptions
Defines the behavior of the drop method on dependent objects.
Type: Microsoft.AnalysisServices.XmlaWarningCollection
Specifies an XmlaWarningCollection variable to hold all resulting warnings from drop operation.
Type: Microsoft.AnalysisServices.ImpactDetailCollection
Specifies an ImpactDetailCollection variable to hold results for all affected objects in current drop operation.
Type: System.Boolean
If true, only the impact analysis is executed, otherwise drop operation is executed.

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

Community Additions

© 2016 Microsoft