AllowQueuedTransactions Property

SQL-DMO

SQL-DMO

AllowQueuedTransactions Property

The AllowQueuedTransactions property specifies whether a publication allows queued-transaction updates to be performed at the Subscriber.

Applies To
TransPublication2 Object
Syntax

object.AllowQueuedTransactions [=value]

Parts

object

Expression that evaluates to an object in the Applies To list

value

TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write when using a SQL-DMO object to create a replication component. Read-only when the object references an existing component.

Prototype (C/C++)

HRESULT GetAllowQueuedTransactions(LPBOOL pRetVal);

HRESULT SetAllowQueuedTransactions(BOOL NewValue);

Remarks

If the AllowQueuedTransactions property is set to TRUE, the publication allows its subscriptions to perform queued-transaction updates at the Subscriber. If AllowQueuedTransactions is set to FALSE, the publication does not allow its subscriptions to perform queued-transaction updates at the Subscriber.

If AllowQueuedTransactions is set to TRUE, you can use the QueueType property to specify the type of queuing to use.

Note  If an application calls AllowQueuedTransactions on an instance of SQL Server version 7.0, the constant, SQLDMO_E_SQL80ONLY, and the message "This property or method requires Microsoft SQL Server 2000" are returned.

See Also

QueueType Property