共用方式為


Scripter.EnumDependencies(SqlSmoObject, DependencyType) Method

Definition

list the urns in the order in which the objects must be created respectively dropped

public static Microsoft.SqlServer.Management.Smo.UrnCollection EnumDependencies (Microsoft.SqlServer.Management.Smo.SqlSmoObject smoObject, Microsoft.SqlServer.Management.Smo.DependencyType dependencyType);
static member EnumDependencies : Microsoft.SqlServer.Management.Smo.SqlSmoObject * Microsoft.SqlServer.Management.Smo.DependencyType -> Microsoft.SqlServer.Management.Smo.UrnCollection
Public Shared Function EnumDependencies (smoObject As SqlSmoObject, dependencyType As DependencyType) As UrnCollection

Parameters

smoObject
SqlSmoObject
dependencyType
DependencyType

Returns

Applies to