SqlCeReplication.PublisherSecurityMode 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 Publisher.

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

Property Value

The SecurityType constant that specifies the security mode.

Remarks

The SecurityType value can be any one of these constants:

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

If the PublisherSecurityMode property value is DBAuthentication (default), then the PublisherLogin properties must be specified. The default for PublisherPassword is an empty string.

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.