Get-ReplSubscriberSubscription

Gets a SubscriberSubscription.

Syntax

Get-ReplSubscriberSubscription [-replServer] <Object> [<CommonParameters>]

Detailed Description

The Get-ReplSubscriberSubscription function gets the registiered subscribers of a subscrption on the specified ReplServer.

Related Commands

* Get-ReplSubscriberSubscription
* Get-ReplServer

Parameters

Name Description Required? Pipeline Input Default Value
replServer  ReplServer can be a string representing the server or a ReplicationServer object returned from Get-ReplServer.  true  false   

Input Type

None You cannot pipe objects to Get-ReplSubscriberSubscription

Return Values

Microsoft.SqlServer.Replication.SubscriberSubscription Get-ReplSubscriberSubscription returns a Microsoft.SqlServer.Replication.SubscriberSubscription object.

Examples

EXAMPLE 1

Get-ReplSubscriberSubscription "Z002\sql2K8"
This command gets the SubscriberSubscriptions for SQL Server Z002\SQL2K8.

EXAMPLE 2

Get-ReplSubscriberSubscription $(Get-ReplServer "Z002\SQL2K8" sa Passw0rd)
This command gets the SubscriberSubscriptions for SQL Server Z002\SQL2K8 using SQL authentication.