I hope this could be done by using sp_addartical
@schema_option =] schema_option
Is a bitmask of the schema generation option for the given article. schema_option is binary(8), and can be the | (Bitwise OR) product of one or more of these values:
Note:
If this value is NULL, the system auto-generates a valid schema option for the article depending on other article properties. The Default Schema Options table given in the Remarks shows the value that will be chosen based upon the combination of the article
type and the replication type.
Value Description
0x10 Generates a corresponding clustered index. Even if this option is not set, indexes related to primary keys and unique constraints are generated if they are already defined on a published table.
Mohd Sufian www.sqlship.wordpress.com Please mark the post as Answered if it helped.