MSDN Library

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


Applies To: SQL Server (starting with 2016)

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.Core (in Microsoft.AnalysisServices.Core.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.

Return to top
© 2016 Microsoft