Scripter-Konstruktor (Server)
Initializes a new instance of the Scripter class on the specified instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
svr As Server _
)
'Usage
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
)
Parameter
- svr
Typ: Microsoft.SqlServer.Management.Smo.Server
A Server object that specifies the instance of SQL Server on which to run the scripting services.