Share via


SqlCeReplication.Distributor Property

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

Specifies the SQL Server Distributor.

  [Visual Basic]
  Public Property Distributor As String
[C#]
public string Distributor {get; set;}
[C++]
public: __property String* get_Distributor();
public: __property void set_Distributor(String*);
[JScript]
public function get Distributor() : String;
public function set Distributor(String);

Property Value

The name of the Distributor used by the Publisher.

Remarks

The Distributor is the SQL Server computer on which the snapshots are stored and on which replication history and statistics are logged.

If the DistributorNetwork and DistributorAddress properties are specified, these properties are used instead of the Distributor property when connecting to the Distributor.The Distributor property is optional. 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 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.