Condividi tramite


Dependency Constructor (Dependency)

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

Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)

Sintassi

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

Parametri

  • dep
    A Dependency object value that specifies the dependency.

Osservazioni

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

Esempio

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

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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

Altre risorse

Scripting