Partilhar via


Replication Object Properties

The following table lists the properties that the Replication object supports for Microsoft Visual C++ for Devices development, and the methods to which each property applies. Each property is listed as "N/A" for methods that do not use the property, "Optional" for methods that may use the property, "Required" for methods that require the property, and "Required*" for methods that require the property when more than one subscription exists.

Property Add Subscription Initialize, Run, Terminate Reinitialize Subscription Drop Subscription

ConnectionManager Property (Replication)

Optional

Optional

Optional

Optional

ConnectionRetryTimeout Property (Replication)

N/A

Optional

N/A

N/A

CompressionLevel Property (Replication)

N/A

Optional

N/A

N/A

Distributor Property (Replication)

N/A

Optional

N/A

N/A

DistributorAddress Property (Replication)

N/A

Optional

N/A

N/A

DistributorNetwork Property (Replication)

N/A

Optional

N/A

N/A

DistributorSecurityMode Property (Replication)

N/A

Optional

N/A

N/A

DistributorLogin Property (Replication)

N/A

Optional

N/A

N/A

DistributorPassword Property (Replication)

N/A

Optional

N/A

N/A

ErrorRecords Property (Replication)

Read-only

Read-only

Read-only

Read-only

ExchangeType Property (Replication)

N/A

Optional

N/A

N/A

HostName Property (Replication)

N/A

Optional

N/A

N/A

InternetURL Property (Replication)

N/A

Required

N/A

N/A

InternetLogin Property (Replication)

N/A

Optional

N/A

N/A

InternetPassword Property (Replication)

N/A

Optional

N/A

N/A

InternetProxyServer Property (Replication)

N/A

Optional

N/A

N/A

InternetProxyLogin Property (Replication)

N/A

Optional

N/A

N/A

InternetProxyPassword Property (Replication)

N/A

Optional

N/A

N/A

LoginTimeout Property (Replication)

N/A

Optional

N/A

N/A

ProfileName Property (Replication)

N/A

Optional

N/A

N/A

Publisher Property (Replication)

Required*

Required

N/A

Required*

PublisherAddress Property (Replication)

N/A

Optional

N/A

N/A

PublisherNetwork Property (Replication)

N/A

Optional

N/A

N/A

PublisherDatabase Property (Replication)

Required*

Required

N/A

Required*

PublisherSecurityMode Property (Replication)

N/A

Optional

N/A

N/A

PublisherLogin Property (Replication)

N/A

Optional

N/A

N/A

PublisherPassword Property (Replication)

N/A

Optional

N/A

N/A

Publication Property (Replication)

Required*

Required

N/A

Required*

PublisherChanges Property (Replication)

N/A

Read-only

N/A

N/A

PublisherConflicts Property (Replication)

N/A

Read-only

N/A

N/A

QueryTimeout Property (Replication)

N/A

Optional

N/A

N/A

Subscriber Property (Replication)

N/A

Required

Required

Required

SubscriberConnectionString Property (Replication)

Required

Required

Required

Required

SubscriberChanges Property (Replication)

N/A

Read-only

N/A

N/A

SubscriberConflicts Property (Replication)

N/A

Read-only

N/A

N/A

Validate Property (Replication)

N/A

Optional

N/A

N/A

SnapshotTransferType Property (Replication)

N/A

Optional

N/A

N/A

StatusReportingHandler Property (Replication)

N/A

Optional

N/A

N/A

Note

Fields marked with an asterisk (*) in the table are required only if more than one subscription exists for the SQL Server 2005 Compact Edition database.