Partilhar via


CReplicationServer.UseTransactions Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets a value that specifies whether transaction processing is enabled for the Commerce Server Staging (CSS) service on a server.

object ServerName { get; }

Return Value

A Boolean value that specifies whether transaction processing is enabled on the server. Transaction processing causes the server to maintain one or more copies of the staged content to support rollback in case errors are encountered.

Remarks

You must have CSS administrator permissions to set this property.

The CReplicationServer.UseTransactions property corresponds to the COM property named ReplicationServer.UseTransactions.

Example

The following example sets the CSS service to use transactions.

CReplicationServer replicationServer = new CReplicationServer();
  replicationServer.Initialize("");
  replicationServer.set_UseTransactions("Yes");

See Also

Other Resources

Web Content Staging Options

Managing the CSS Service

How to Set, Modify, and Retrieve Global Properties for a CSS Service

How to Retrieve Staging Information

CReplicationServer Class