共用方式為


TransSynchronizationAgent.DistributorSecurityMode Property

Definition

Gets or sets the security mode that is used when connecting to the distributor.

public:
 virtual property Microsoft::SqlServer::Replication::SecurityMode DistributorSecurityMode { Microsoft::SqlServer::Replication::SecurityMode get(); void set(Microsoft::SqlServer::Replication::SecurityMode value); };
public virtual Microsoft.SqlServer.Replication.SecurityMode DistributorSecurityMode { get; set; }
member this.DistributorSecurityMode : Microsoft.SqlServer.Replication.SecurityMode with get, set
Public Overridable Property DistributorSecurityMode As SecurityMode

Property Value

The security mode.

Implements

Remarks

When possible, use Windows Authentication.

If the value is Standard, the DistributorLogin and DistributorPassword properties must also be specified.

For a push subscription, the Distribution Agent always connects to the Distributor locally by using Windows Integrated Authentication, and this property is ignored.

Applies to