مشاركة عبر


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)

Syntax

'Declaration
Public Shared Function EnumDependencies ( _
    smoObject As SqlSmoObject, _
    dependencyType As DependencyType _
) As UrnCollection
'Usage
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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.UrnCollection
A UrnCollection object value that specifies the list of dependencies for the specified object.

Examples

Scripting

See Also

Reference

Scripter Class

Microsoft.SqlServer.Management.Smo Namespace