Share via


ScriptUrl Field

Topic Last Modified: 2006-06-13

When using the script host, this property specifies the URL to the file containing the script code to execute.

Full Name

https://schemas.microsoft.com/exchange/events/ScriptUrl

Variant Subtype

 String

 VT_BSTR

OLE DB Type

DBTYPE_WSTR

Remarks

The URL can be to a script file located in the Exchange store or on a file system. Both the OLE DB HTTP: and File: Uniform Resource Identifier (URI) schemes are supported. However, the local Exchange store OLE DB provider is always used if the URL is expressed using The File: URL Scheme or The HTTP: URL Scheme. You cannot store the script file on a remote machine, and the script must be accessible by the process under which the Exchange store process is executing.

Examples

"d:\onsavescript.vbs"

"file://./backofficestorage/domain.example.com/public folders/common/scripts/myonsavescript1.vbs"

See Also

Other Resources

The Script Host Sink