Condividi tramite


MergeSubscription.PublisherSecurity Property

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

Spazio dei nomi: Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property PublisherSecurity As IConnectionSecurityContext
public IConnectionSecurityContext PublisherSecurity { get; }
public:
property IConnectionSecurityContext^ PublisherSecurity {
    IConnectionSecurityContext^ get ();
}
/** @property */
public IConnectionSecurityContext get_PublisherSecurity ()
public function get PublisherSecurity () : IConnectionSecurityContext

Valore proprietà

An IConnectionSecurityContext object.

Osservazioni

Se possibile, utilizzare l'autenticazione di 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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

MergeSubscription Class
MergeSubscription Members
Microsoft.SqlServer.Replication Namespace