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
- options
Type: Microsoft.AnalysisServices.DropOptions
Defines the behavior of the drop method on dependent objects.
- warnings
Type: Microsoft.AnalysisServices.XmlaWarningCollection
Specifies an XmlaWarningCollection variable to hold all resulting warnings from drop operation.
- impactResult
Type: Microsoft.AnalysisServices.ImpactDetailCollection
Specifies an ImpactDetailCollection variable to hold results for all affected objects in current drop operation.
- 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