DestinationObjectName Property (SQL-DMO)

The DestinationObjectName property specifies the name of table or stored procedure created as the target of a transactional replication article.

Applies To

TransArticle Object

Syntax

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

Remarks

For a TransArticle object, the SourceObjectName property provides the default for DestinationObjectName.

Specify an alternate owner for the published object using the DestinationOwnerName property.

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

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.


See Also
DestinationOwnerName Property SourceObjectName Property

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.