Export (0) Print
Expand All

PullSubscription.SubscriberSecurity Property

Gets the security context that is used by the Synchronization Agent when connecting to the Subscriber.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

public ConnectionSecurityContext SubscriberSecurity { get; }

The Synchronization Agent always connects locally to the subscription database on the Subscriber using Windows Integrated Authentication.

The SubscriberSecurity property can only be retrieved by members of the sysadmin fixed server role at the Subscriber or by members of the db_owner fixed database role on the subscription database.

Retrieving the SubscriberSecurity property is equivalent to executing sp_helppullsubscription (Transact-SQL) or sp_helpmergepullsubscription (Transact-SQL).

Community Additions

© 2014 Microsoft