Compartir a través de


Endpoint Constructor (Server, String)

Initializes a new instance of the Endpoint class with the specified name on the specified instance of Microsoft SQL Server.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
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
)

Parámetros

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

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Create a Database Mirroring Endpoint Service in Visual Basic .NET

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

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

Otros recursos

Implementing Endpoints
Vistas de catálogo de extremos (Transact-SQL)
CREATE ENDPOINT (Transact-SQL)