Dependency Constructor (Dependency)

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

命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)

语法

声明
Public Sub New ( _
    dep As Dependency _
)
public Dependency (
    Dependency dep
)
public:
Dependency (
    Dependency^ dep
)
public Dependency (
    Dependency dep
)
public function Dependency (
    dep : Dependency
)

参数

  • dep
    A Dependency object value that specifies the dependency.

备注

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

示例

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

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

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

其他资源

Scripting