PublicationMonitor Constructor (String, String, String, String, ServerConnection)

Creates a new instance of the PublicationMonitor class with the specified name, distribution database, Publisher, publication database, and connection to the Distributor.

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

public PublicationMonitor(
	string name,
	string distributionDBName,
	string publisherName,
	string publicationDBName,
	ServerConnection connectionContext
)

Parámetros

name
Tipo: System..::..String
A String value that specifies the name of the publication to monitor.
distributionDBName
Tipo: System..::..String
A String value that specifies the name of the publication to monitor.
publisherName
Tipo: System..::..String
A String value that specifies the name of the publication to monitor.
publicationDBName
Tipo: System..::..String
A String value that specifies the name of the publication to monitor.
connectionContext
Tipo: Microsoft.SqlServer.Management.Common..::..ServerConnection
A ServerConnection object that specifies the connection to the Distributor.

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

Adiciones de comunidad

AGREGAR
Mostrar: