Scripter.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
パラメーター
- smoObject
型: Microsoft.SqlServer.Management.Smo.SqlSmoObject
依存関係のリストが必要なオブジェクトを示す SqlSmoObject オブジェクト値です。
- dependencyType
型: Microsoft.SqlServer.Management.Smo.DependencyType
必要な依存関係の種類 (親または子) を示す DependencyType オブジェクト値です。
戻り値
型: Microsoft.SqlServer.Management.Smo.UrnCollection
指定したオブジェクトの依存関係のリストを示す UrnCollection オブジェクト値です。