The DestinationObjectName property specifies the name of table or stored procedure created as the target of a transactional replication article.
object.DestinationObjectName [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | String specifying a valid Microsoft® SQL Server table or stored procedure name |
For a TransArticle object, the SourceObjectName property provides the default for DestinationObjectName.
Specify an alternate owner for the published object using the DestinationOwnerName property.
String
Read/write
HRESULT GetDestinationObjectName(SQLDMO_LPBSTR pRetVal);
HRESULT SetDestinationObjectName(SQLDMO_LPCSTR NewValue);
Note SQL-DMO strings are always returned as OLE BSTR objects. A C/C++ application obtains a reference to the string. The application must release the reference by using SysFreeString.
DestinationOwnerName Property | SourceObjectName Property |