次の方法で共有


DiscoverDependencies メソッド (UrnCollection, DependencyType)

SQL Server のインスタンス上にある SQL Server オブジェクトの指定した Urn コレクションに対する親または子の依存関係を表す階層オブジェクト ツリーを作成します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Function DiscoverDependencies ( _
    list As UrnCollection, _
    dependencyType As DependencyType _
) As DependencyTree
'使用
Dim instance As DependencyWalker
Dim list As UrnCollection
Dim dependencyType As DependencyType
Dim returnValue As DependencyTree

returnValue = instance.DiscoverDependencies(list, _
    dependencyType)
public DependencyTree DiscoverDependencies(
    UrnCollection list,
    DependencyType dependencyType
)
public:
DependencyTree^ DiscoverDependencies(
    UrnCollection^ list, 
    DependencyType dependencyType
)
member DiscoverDependencies : 
        list:UrnCollection * 
        dependencyType:DependencyType -> DependencyTree 
public function DiscoverDependencies(
    list : UrnCollection, 
    dependencyType : DependencyType
) : DependencyTree

パラメーター

戻り値

型: Microsoft.SqlServer.Management.Smo. . :: . .DependencyTree
SQL Server オブジェクトの階層ツリーを示す DependencyTree オブジェクトです。

使用例

スクリプト