IsGlobal Property

Indicates whether or not a server has global scope. Global server are shared amongst documents while local server are specific for one specific document.

Syntax

Property IsGlobal As Boolean

Parameters

None

Examples

IronPython

#Get mail server global flag
is_glob = Host.ScriptData.MailServer[serverName].IsGlobal

#Set mail server global flag
Host.ScriptData.MailServer[serverName].IsGlobal = True


C#

//Get mail server global flag
bool is_glob = ScriptData.MailServers["myServer"].IsGlobal;

//Set mail server global flag
ScriptData.MailServers["myServer"].IsGlobal = true

Remarks