Domain Property
Domain Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Contains the server's domain name. This property is read-only.
Applies To
Type Library
Microsoft CDO Workflow Objects for Microsoft Exchange
DLL Implemented In
CDOWF.DLL
Syntax
[Visual Basic]Property Domain As String
[C++]HRESULT get_Domain(BSTR* varDomain);
Parameters
- varDomain
Returns the value of the Domain property as a reference to a BSTR.
Remarks
You can use this in your script to construct http://, file://, and LDAP :// URLs. If the script will run on the client, do not use file:// URLs, because these usually do not resolve to the correct resource.
Example
"http://" + WorkflowSession.Server + "." + WorkflowSession.Domain
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)
© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.