Platform SDK: Exchange 2000 Server |
[This is preliminary documentation and subject to change.]
Contains a URL to the item containing the shared script functions referenced in the Condition and Action scripts.
[Visual Basic,VBScript] Public Property CommonScriptURL as String [C++] HRESULT get_CommonScriptURL(BSTR* pVal); HRESULT put_CommonScriptURL(BSTR Val); [IDL] HRESULT [propget] CommonScriptURL([out,retval] BSTR* pVal); HRESULT [propput] CommonScriptURL([in] BSTR Val);
You can think of this as the location of your "include" file. You should save your common script functions in a text file at the location specified by this URL. Save the CommonScript file to this URL before setting this property to avoid problems with different versions.
Note You can use either an absolute or a relative URL for this property. If you use a relative URL, it must refer to an item in the same folder as the registration item.
Dim DomainName As String Dim FolderName As String Dim CommonScriptItem As String ' set your own values to these variables: DomainName = "microsoft.com" FolderName = "Workflow1" CommonScriptItem = "CommonScript.txt" Dim strURL As String strURL = "file://./backofficestorage/" _ & DomainName _ & "/Public Folders/" _ & FolderName & "/" _ & CommonScriptItem Dim iPD As CDOWF.ProcessDefinition Set iPD = New CDOWF.ProcessDefinition iPD.CommonScriptURL = strURL