Partager via


Endpoint Constructor (Server, String)

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

Espace de noms: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
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
)

Paramètres

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

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemple

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

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

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

Autres ressources

Implementing Endpoints
Affichages catalogue des points de terminaison (Transact-SQL)
CREATE ENDPOINT (Transact-SQL)