Compartir a través de


PublisherMonitor Constructor (String, ServerConnection)

Creates a new instance of the PublisherMonitor class with the specified name and a connection to the Distributor.

Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    name As String, _
    connectionContext As ServerConnection _
)
public PublisherMonitor (
    string name,
    ServerConnection connectionContext
)
public:
PublisherMonitor (
    String^ name, 
    ServerConnection^ connectionContext
)
public PublisherMonitor (
    String name, 
    ServerConnection connectionContext
)
public function PublisherMonitor (
    name : String, 
    connectionContext : ServerConnection
)

Parámetros

  • name
    A String value that specifies the name of the publication monitor.
  • connectionContext
    A ServerConnection object that specifies the connection context used to establish a connection to the Distributor.

Notas

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

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

PublisherMonitor Class
PublisherMonitor Members
Microsoft.SqlServer.Replication Namespace