Jaa


SubscriberConnectionString Property (Replication)

The SubscriberConnectionString property specifies the OLE DB connection string to the SQL Server 2005 Compact Edition (SQL Server Compact Edition) database on the device.

Syntax

object.SubscriberConnectionString [= value]

Parameters

Parameter Description

value

The OLE DB connection string for the SQL Server Compact Edition database.

Applies To

SQL Server Compact Edition Replication object

Data Type

String

Modifiable

Read/write

Prototype

HRESULT get_SubscriberConnectionString(BSTR *pVal);
HRESULT put_SubscriberConnectionString(BSTR newVal);

Remarks

For supported connection string properties, see LocalConnectionString Property (SQL Server Compact Edition).

Example

object.SubscriberConnectionString = "Data Source=\ssce.sdf; Locale Identifier=0x00000409; SSCE:Database Password=mypassword; SSCE:Encrypt Database=TRUE"

See Also

Reference

AddSubscription Method (Replication)
Replication Object Properties

Help and Information

Getting SQL Server Compact Edition Assistance