Scripter Constructor (Server)
Initializes a new instance of the Scripter class on the specified instance of Microsoft SQL Server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Sub New ( _
svr As Server _
)
public Scripter (
Server svr
)
public:
Scripter (
Server^ svr
)
public Scripter (
Server svr
)
public function Scripter (
svr : Server
)
Parameters
- svr
A Server object that specifies the instance of Microsoft SQL Server on which to run the scripting services.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Script Out the Dependencies for a Database in Visual Basic .NET
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
Scripter Class
Scripter Members
Microsoft.SqlServer.Management.Smo Namespace