Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
The SubscriberConnectionString property specifies the OLE DB connection string to the SQL Server Compact 3.5 (SQL Server Compact 3.5) database on the device.
Syntax
object.SubscriberConnectionString [= value]
Parameters
| Parameter | Description |
|---|---|
value |
The OLE DB connection string for the SQL Server Compact 3.5 database. |
Applies To
SQL Server Compact 3.5 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 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"
See Also
Reference
AddSubscription Method (Replication)
Replication Object Properties