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
)
Parameters
- server
A Server object that specifies the instance of SQL Server.
- name
A String variable that specifies the name of the endpoint.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Create a Database Mirroring Endpoint Service 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
Endpoint Class
Endpoint Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
Implementing Endpoints
Endpoints Catalog Views (Transact-SQL)
CREATE ENDPOINT (Transact-SQL)