Drop 方法 (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.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Sub Drop ( _
options As DropOptions, _
warnings As XmlaWarningCollection, _
impactResult As ImpactDetailCollection, _
analyzeImpactOnly As Boolean _
)
用法
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
)
参数
- options
类型:Microsoft.AnalysisServices. . :: . .DropOptions
Defines the behavior of the drop method on dependent objects.
- warnings
类型:Microsoft.AnalysisServices. . :: . .XmlaWarningCollection
Specifies an XmlaWarningCollection variable to hold all resulting warnings from drop operation.
- impactResult
类型:Microsoft.AnalysisServices. . :: . .ImpactDetailCollection
Specifies an ImpactDetailCollection variable to hold results for all affected objects in current drop operation.
- analyzeImpactOnly
类型: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.