共用方式為


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.

命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

語法

'宣告
Public Sub Drop ( _
    options As DropOptions, _
    warnings As XmlaWarningCollection, _
    impactResult As ImpactDetailCollection, _
    analyzeImpactOnly As Boolean _
)
public void Drop (
    DropOptions options,
    XmlaWarningCollection warnings,
    ImpactDetailCollection impactResult,
    bool analyzeImpactOnly
)
public:
void Drop (
    DropOptions options, 
    XmlaWarningCollection^ warnings, 
    ImpactDetailCollection^ impactResult, 
    bool analyzeImpactOnly
)
public void Drop (
    DropOptions options, 
    XmlaWarningCollection warnings, 
    ImpactDetailCollection impactResult, 
    boolean analyzeImpactOnly
)
public function Drop (
    options : DropOptions, 
    warnings : XmlaWarningCollection, 
    impactResult : ImpactDetailCollection, 
    analyzeImpactOnly : boolean
)

參數

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

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

MajorObject Class
MajorObject Members
Microsoft.AnalysisServices Namespace