Свойство MergeSubscription.PublisherSecurity

Gets the security context used by the Merge Agent to connect to the Publisher.

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

Синтаксис

'Декларация
Public ReadOnly Property PublisherSecurity As IConnectionSecurityContext 
    Get
'Применение
Dim instance As MergeSubscription 
Dim value As IConnectionSecurityContext 

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

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

Тип: Microsoft.SqlServer.Replication.IConnectionSecurityContext
An IConnectionSecurityContext object.

Замечания

По возможности используйте проверку подлинности Windows. 

The Description property can only be retrieved by members of the sysadmin fixed server role at the Publisher, members of the db_owner fixed database role on the publication database, or members of the publication access list for the publication to which the subscription belongs.

Retrieving Description is equivalent to executing sp_helpmergesubscription.

См. также

Справочник

MergeSubscription Класс

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