Scripter 构造函数 (Server)

Initializes a new instance of the Scripter class on the specified instance of SQL Server.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub New ( _
    svr As Server _
)
用法
Dim svr As Server

Dim instance As New Scripter(svr)
public Scripter(
    Server svr
)
public:
Scripter(
    Server^ svr
)
new : 
        svr:Server -> Scripter
public function Scripter(
    svr : Server
)

参数

示例

脚本撰写