PublisherMonitor Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the PublisherMonitor class.
Overloads
PublisherMonitor() |
Creates a new instance of the PublisherMonitor class. |
PublisherMonitor(String, ServerConnection) |
Creates a new instance of the PublisherMonitor class with the specified name and a connection to the Distributor. |
PublisherMonitor()
Creates a new instance of the PublisherMonitor class.
public:
PublisherMonitor();
public PublisherMonitor ();
Public Sub New ()
Remarks
The default constructor initializes any fields to their default values.
Applies to
PublisherMonitor(String, ServerConnection)
Creates a new instance of the PublisherMonitor class with the specified name and a connection to the Distributor.
public:
PublisherMonitor(System::String ^ name, Microsoft::SqlServer::Management::Common::ServerConnection ^ connectionContext);
public PublisherMonitor (string name, Microsoft.SqlServer.Management.Common.ServerConnection connectionContext);
new Microsoft.SqlServer.Replication.PublisherMonitor : string * Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Replication.PublisherMonitor
Public Sub New (name As String, connectionContext As ServerConnection)
Parameters
- connectionContext
- ServerConnection
A ServerConnection object that specifies the connection context used to establish a connection to the Distributor.