次の方法で共有


EnumDependencies メソッド

指定されたオブジェクトと子または親の依存関係を含む列挙リストを返します。

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

構文

'宣言
Public Shared Function EnumDependencies ( _
    smoObject As SqlSmoObject, _
    dependencyType As DependencyType _
) As UrnCollection
'使用
Dim smoObject As SqlSmoObject
Dim dependencyType As DependencyType
Dim returnValue As UrnCollection

returnValue = Scripter.EnumDependencies(smoObject, _
    dependencyType)
public static UrnCollection EnumDependencies(
    SqlSmoObject smoObject,
    DependencyType dependencyType
)
public:
static UrnCollection^ EnumDependencies(
    SqlSmoObject^ smoObject, 
    DependencyType dependencyType
)
static member EnumDependencies : 
        smoObject:SqlSmoObject * 
        dependencyType:DependencyType -> UrnCollection 
public static function EnumDependencies(
    smoObject : SqlSmoObject, 
    dependencyType : DependencyType
) : UrnCollection

パラメーター

戻り値

型: Microsoft.SqlServer.Management.Smo. . :: . .UrnCollection
指定したオブジェクトの依存関係のリストを示す UrnCollection オブジェクト値です。

使用例

スクリプト