Dependency Constructor (Dependency)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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
)

Parameters

  • dep
    A Dependency object value that specifies the dependency.

Remarks

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

Example

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

See Also

Reference

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

Other Resources

Scripting