Partager via


CSS SetGlobal Command

Defines a property for the Commerce Server Staging (CSS) service on the specified server.

Note

Global properties can also be defined through the CSS Microsoft Management Console (MMC) <CSS Server Name> Properties dialog box.

SetGlobal <Property=Value> [...] [GlobalFlags]

Parameters

Option

Description

MailHost=<SMTP mailhost>

The name of the SMTP host.

MailFrom=<anyone>

The e-mail address of an account that represents the source of the e-mail.

MailTo=<anyone>

The e-mail address to receive notifications when a staging project succeeds or fails.

MailToFail=<anyone>

The e-mail address to receive notifications when a staging project fails.

MailToSuccess=<anyone>

The e-mail address to receive notifications when a staging project succeeds.

Username=<username>

The default authentication account user name to use when authenticating against other CSS servers.

Password=<password>

The default password to use when you authenticate against other CSS servers.

Dd327940.alert_note(en-US,CS.90).gifNote:
You must be logged into the server to set this option. This option cannot be set remotely as CSS does not transmit passwords.

FullLogging=<YES | NO>

Whether to enable logging of full text logging. Only enable this option for debugging.

RollbacksToKeep=<positive integer>

The number of rollbacks that are permitted. A maximum of nine rollbacks is supported.

TransactionMethod=<YES | NO>

Specifies whether to perform transactional staging. Specifying this option is comparable to selecting Enable rollback and transactions on the server where content is staged.

Global Flags

Flag

Description

/Server <ServerName>

Specifies the server for which the command should execute. Leave blank to execute the command on the server where you enter the command.

/User <user> [pass | *]

Specifies the credentials to use to run the command. You must specify a user name that has the required CSS administrator or operator rights on the server where the command will be executed. If you omit the user name, the user name of the person who enters the command is used.

If you omit the password or enter an asterisk, CSS prompts you for the password. The password you enter is not displayed on the screen.

Remarks

You must have CSS administrator rights to execute this command.

To list global properties that are defined for a server, see QueryGlobal.

See Also

Other Resources

Adding and Configuring CSS Servers

CSS QueryGlobal Command

Staging Commands