Поделиться через


Свойство PullSubscription.SubscriberSecurity

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

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public ReadOnly Property SubscriberSecurity As ConnectionSecurityContext 
    Get
'Применение
Dim instance As PullSubscription 
Dim value As ConnectionSecurityContext 

value = instance.SubscriberSecurity
public ConnectionSecurityContext SubscriberSecurity { get; }
public:
property ConnectionSecurityContext^ SubscriberSecurity {
    ConnectionSecurityContext^ get ();
}
member SubscriberSecurity : ConnectionSecurityContext
function get SubscriberSecurity () : ConnectionSecurityContext

Значение свойства

Тип: Microsoft.SqlServer.Replication.ConnectionSecurityContext
A ConnectionSecurityContext object.

Замечания

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).

См. также

Справочник

PullSubscription Класс

Пространство имен Microsoft.SqlServer.Replication