The AutogenrateSyncProcedures property configures a snapshot or transactional replication publication.
object.AutogenerateSyncProcedures [= value]
| Part | Description | 
|---|---|
| object | Expression that evaluates to an object in the Applies To list | 
| value | True or False | 
When True, synchronous procedures are generated automatically.
When False, synchronous procedures are not generated automatically.
Boolean
Read/write when using the SQL-DMO object to create a publication. Read-only when the object references an existing publication.
HRESULT GetAutogenerateSyncProcedures(LPBOOL pRetVal);
HRESULT SetAutogenerateSyncProcedures(BOOL NewValue);