Get-ReplEnumLogReaderAgent

Calls the EnumLogReaderReader method on a PublicationMonitor object.

Syntax

Get-ReplEnumLogReaderAgent [-pubMon] <PublicationMonitor> [<CommonParameters>]

Detailed Description

The Get-ReplEnumLogReaderAgent function calls the EnumLogReaderReader method for the specified PublicationMonitor object.

Related Commands

* Get-ReplEnumLogReaderAgent
* Get-ReplPublicationMonitor

Parameters

Name Description Required? Pipeline Input Default Value
pubMon    true  true (ByValue)   

Input Type

Microsoft.SqlServer.Replication.PublicationMonitor You can pipe PublicationMonitor objects to Get-ReplEnumLogReaderAgent

Return Values

System.Data.DataRow Get-ReplEnumLogReaderAgent returns an array of System.Data.DataRow objects

Examples

EXAMPLE 1

Get-ReplPublicationMonitor "Z002\sql2K8" | Get-ReplEnumLogReaderAgent
This command calls the EnumLogReaderAgent method for SQL Server Z002\SQL2K8.