Sdílet prostřednictvím


DependenciesCalculator.GetDeleteDependents Method

Definition

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.

public System.Collections.Hashtable GetDeleteDependents (Microsoft.AnalysisServices.Database database, object[] items, bool recursive);
member this.GetDeleteDependents : Microsoft.AnalysisServices.Database * obj[] * bool -> System.Collections.Hashtable
Public Function GetDeleteDependents (database As Database, items As Object(), recursive As Boolean) As Hashtable

Parameters

database
Database

Specifies the database where the objects exist.

items
Object[]

Specifies the intended array of objects to be deleted.

recursive
Boolean

A Boolean value that states whether dependencies are to be calculated recursively over the dependent objects returned.

Returns

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.

Remarks

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.

Applies to