Condividi tramite


SqlCeReplication.DistributorSecurityMode Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Specifies the security mode used when connecting to the Distributor.

  [Visual Basic]
  Public Property DistributorSecurityMode As SecurityType
[C#]
public SecurityType DistributorSecurityMode {get; set;}
[C++]
public: __property SecurityType get_DistributorSecurityMode();
public: __property void set_DistributorSecurityMode(SecurityType);
[JScript]
public function get DistributorSecurityMode() : SecurityType;
public function set DistributorSecurityMode(SecurityType);

Property Value

The SecurityType constant that specifies the mode of security enforced at the Distributor.

Remarks

SecurityType can be any one of these constants:

Constant Description
DBAuthentication SQL Server Authentication (default)
NTAuthentication Integrated Windows Authentication

If the value is DBAuthentication (default), DistributorLogin and DistributorPassword are used when connecting to the Distributor. If the value is NTAuthentication, the IIS Windows user account is used when connecting to the Distributor.

If none of the Distributor connection properties are specified, it is assumed the Publisher and Distributor are on the same instance of SQL Server, and Publisher connection properties are used when connecting to the Distributor. However, if you set any of the Distributor connection properties, you must set all of the required Distributor properties.

Requirements

Platforms: .NET Compact Framework

.NET Framework Security:

See Also

SqlCeReplication Class | SqlCeReplication Members | System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.