Freigeben über


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
)

Parameter

  • svr
    A Server object that specifies the instance of Microsoft SQL Server on which to run the scripting services.

Hinweise

Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.

Beispiel

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

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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

Andere Ressourcen

Scripting