Export (0) Print
Expand All

Scripter.EnumDependencies Method

Returns an enumerated list that includes the specified object and child or parent dependencies.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public static UrnCollection EnumDependencies(
	SqlSmoObject smoObject,
	DependencyType dependencyType
)

Parameters

smoObject
Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject object value that specifies the object for which the list of dependencies is required.
dependencyType
Type: Microsoft.SqlServer.Management.Smo.DependencyType
A DependencyType object value that specifies the type of dependency, parent or child, that is required.

Return Value

Type: Microsoft.SqlServer.Management.Smo.UrnCollection
A UrnCollection object value that specifies the list of dependencies for the specified object.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft