Compartir a través de


EnumDependencies Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Shared Function EnumDependencies ( _
    smoObject As SqlSmoObject, _
    dependencyType As DependencyType _
) As UrnCollection
'Uso
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

Parámetros

Valor devuelto

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

Ejemplos

Scripting