Partager via


Get Method

Get Method

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.

Returns a variant type value of the property on the process instance row identified by the input string.

Applies To

ISessionProps Interface

Type Library

Microsoft CDO Workflow Objects for Microsoft Exchange

DLL Implemented In

CDOWF.DLL

Syntax

[Visual Basic]Function Get
(
    bsName As String
) As Variant

[C++]HRESULT Get (     BSTR bsName,     VARIANTpvarValue );

Parameters

  • bsName
    The name of the property which you want to retrieve.
  • pvarValue
    The value of the specified property returned as a reference to a VARIANT.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Use this method to retrieve a property that you have previously stored using the Put method. You can retrieve stored properties within the same state transition including condition and action scripts. Stored custom properties are not available to a compensating action.

Example

'In the Condition or Action script: GetCustomProp "MyPropName"

'In the Shared Script: Sub GetCustomProp(propName) WorkflowSession.Properties.Get (propName) End Sub

See Also

Properties Property

Getting the HTTP URL of an Item

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.