共用方式為


DependenciesCalculator.GetDeleteDependents 方法

Evaluates dependencies for the delete operation over the specified array of objects in the specified database; and, if it is specified, evaluates dependencies recursively on the returned collection.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function GetDeleteDependents ( _
    database As Database, _
    items As Object(), _
    recursive As Boolean _
) As Hashtable
'用途
Dim instance As DependenciesCalculator 
Dim database As Database 
Dim items As Object()
Dim recursive As Boolean 
Dim returnValue As Hashtable 

returnValue = instance.GetDeleteDependents(database, _
    items, recursive)
public Hashtable GetDeleteDependents(
    Database database,
    Object[] items,
    bool recursive
)
public:
Hashtable^ GetDeleteDependents(
    Database^ database, 
    array<Object^>^ items, 
    bool recursive
)
member GetDeleteDependents : 
        database:Database * 
        items:Object[] * 
        recursive:bool -> Hashtable
public function GetDeleteDependents(
    database : Database, 
    items : Object[], 
    recursive : boolean
) : Hashtable

參數

  • items
    型別:array<System.Object[]
    Specifies the intended array of objects to be deleted.
  • recursive
    型別:System.Boolean
    A Boolean value that states whether dependencies are to be calculated recursively over the dependent objects returned.

傳回值

型別:System.Collections.Hashtable
A collection of key and value pairs of objects that would be removed, invalidated, or modified by the intended delete operation. The key contains the dependent object and the value contains an array of DependencyResult objects.

備註

All dependent objects are returned in the System.Collections.Hashtable collection, whether recursive is true or false. When recursive is true the collection might be longer.

The collection is organized according to the hash code of the key.

請參閱

參考

DependenciesCalculator 類別

Microsoft.AnalysisServices 命名空間