The SubscriberConnectionString property specifies the OLE DB connection string to the SQL Server Compact 3.5 database on the device.
object.SubscriberConnectionString [= value]
Applies To
SQL Server Compact 3.5 Replication object
Parameter |
Description |
---|---|
value |
The OLE DB connection string for the SQL Server Compact 3.5 database. |
Data Type
String
Modifiable
Read/write
Prototype
HRESULT get_SubscriberConnectionString(BSTR *pVal);
HRESULT put_SubscriberConnectionString(BSTR newVal);
For supported connection string properties in the OLE DB connection string, see LocalConnectionString Property (RDA).
Example
object.SubscriberConnectionString = "Data Source=\ssce.sdf; Locale Identifier=0x00000409; SSCE:Database Password=mypassword; SSCE:Encrypt Database=TRUE"