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
)
參數
- svr
型別:Microsoft.SqlServer.Management.Smo.Server
A Server object that specifies the instance of SQL Server on which to run the scripting services.