Partager via


Dependency Constructor (Dependency)

Initializes a new instance of the Dependency class based on the specified dependency.

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    dep As Dependency _
)
public Dependency (
    Dependency dep
)
public:
Dependency (
    Dependency^ dep
)
public Dependency (
    Dependency dep
)
public function Dependency (
    dep : Dependency
)

Paramètres

  • dep
    A Dependency object value that specifies the dependency.

Notes

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Exemple

How to: Script Out the Dependencies for a Database in Visual Basic .NET

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

Dependency Class
Dependency Members
Microsoft.SqlServer.Management.Smo Namespace

Autres ressources

Scripting