DependenciesCalculator.GetDeleteDependents Method

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 (in microsoft.analysisservices.dll)

语法

声明
Public Function GetDeleteDependents ( _
    database As Database, _
    items As Object(), _
    recursive As Boolean _
) As Hashtable
public Hashtable GetDeleteDependents (
    Database database,
    Object[] items,
    bool recursive
)
public:
Hashtable^ GetDeleteDependents (
    Database^ database, 
    array<Object^>^ items, 
    bool recursive
)
public Hashtable GetDeleteDependents (
    Database database, 
    Object[] items, 
    boolean recursive
)
public function GetDeleteDependents (
    database : Database, 
    items : Object[], 
    recursive : boolean
) : Hashtable

参数

  • database
    Specifies the database where the objects exist.
  • items
    Specifies the intended array of objects to be deleted.
  • recursive
    A Boolean value that states whether dependencies are to be calculated recursively over the dependent objects returned.

返回值

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.

线程安全

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 的硬件和软件要求。

请参阅

参考

DependenciesCalculator Class
DependenciesCalculator Members
Microsoft.AnalysisServices Namespace