Freigeben über


Dependency Constructor (Dependency)

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)

Syntax

'Declaration
Public Sub New ( _
    dep As Dependency _
)
public Dependency (
    Dependency dep
)
public:
Dependency (
    Dependency^ dep
)
public Dependency (
    Dependency dep
)
public function Dependency (
    dep : Dependency
)

Parameter

  • dep
    A Dependency object value that specifies the dependency.

Hinweise

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

Beispiel

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

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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

Andere Ressourcen

Scripting