DiscoverDependencies メソッド (UrnCollection, Boolean)
SQL Server のインスタンス上にある SQL Server オブジェクトの指定した Urn コレクションに対する親または子の依存関係を表す階層オブジェクト ツリーを作成します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Function DiscoverDependencies ( _
list As UrnCollection, _
parents As Boolean _
) As DependencyTree
'使用
Dim instance As DependencyWalker
Dim list As UrnCollection
Dim parents As Boolean
Dim returnValue As DependencyTree
returnValue = instance.DiscoverDependencies(list, _
parents)
public DependencyTree DiscoverDependencies(
UrnCollection list,
bool parents
)
public:
DependencyTree^ DiscoverDependencies(
UrnCollection^ list,
bool parents
)
member DiscoverDependencies :
list:UrnCollection *
parents:bool -> DependencyTree
public function DiscoverDependencies(
list : UrnCollection,
parents : boolean
) : DependencyTree
パラメーター
- list
型: Microsoft.SqlServer.Management.Smo. . :: . .UrnCollection
依存関係を検出する SQL Server オブジェクトを示す UrnCollection オブジェクトの値です。
- parents
型: System. . :: . .Boolean
配列内のオブジェクトが依存する親オブジェクトを検索するのか、または配列内のオブジェクトに依存する子オブジェクトを検索するのかを示す Boolean 値です。
True の場合、DiscoverDependencies メソッドは、指定した配列内の各オブジェクトの親オブジェクトを検索します。
False の場合、DiscoverDependencies メソッドは、指定した配列内の各オブジェクトの子オブジェクトを検索します。
戻り値
型: Microsoft.SqlServer.Management.Smo. . :: . .DependencyTree
SQL Server オブジェクトの階層ツリーを示す DependencyTree オブジェクトです。