Get-ReplEnumSubscriptions

Calls the EnumSubscriptions method on a PublicationMonitor object.

Syntax

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

Detailed Description

The Get-ReplEnumSubscriptions function calls the EnumSubscriptions method for the specified PublicationMonitor object.

Related Commands

* Get-ReplEnumSubscriptions
* 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-ReplEnumSubscriptions

Return Values

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

Examples

EXAMPLE 1

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