PullSubscription.SubscriberSecurity Property
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.
Gets the security context that is used by the Synchronization Agent when connecting to the Subscriber.
public:
property Microsoft::SqlServer::Replication::ConnectionSecurityContext ^ SubscriberSecurity { Microsoft::SqlServer::Replication::ConnectionSecurityContext ^ get(); };
public Microsoft.SqlServer.Replication.ConnectionSecurityContext SubscriberSecurity { get; }
member this.SubscriberSecurity : Microsoft.SqlServer.Replication.ConnectionSecurityContext
Public ReadOnly Property SubscriberSecurity As ConnectionSecurityContext
Property Value
A ConnectionSecurityContext object.
Remarks
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).