Freigeben über


Endpoint Constructor (Server, String)

Initializes a new instance of the Endpoint class with the specified name 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 ( _
    server As Server, _
    name As String _
)
public Endpoint (
    Server server,
    string name
)
public:
Endpoint (
    Server^ server, 
    String^ name
)
public Endpoint (
    Server server, 
    String name
)
public function Endpoint (
    server : Server, 
    name : String
)

Parameter

  • server
    A Server object that specifies the instance of SQL Server.
  • name
    A String variable that specifies the name of the endpoint.

Hinweise

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

Beispiel

How to: Create a Database Mirroring Endpoint Service 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

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

Andere Ressourcen

Implementing Endpoints
Endpunkte-Katalogsichten (Transact-SQL)
CREATE ENDPOINT (Transact-SQL)