The Publication property specifies the publication name.
| SQLDistribution Object | SQLMerge Object |
object.Publication [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | Publication name |
This is a required property.
If using the SQL Distribution control to synchronize multiple publications configured to use a shared agent, the value must be ‘ALL’.
String
Read/write
HRESULT get_Publication(BSTR *pVal);
HRESULT put_Publication(BSTR newVal);
| Publisher Property | PublisherDatabase Property |
| sp_addpublication |