__interface ITSVariableBag : IUnknown

{

    void GetValue([in] LPCTSTR variableName, [out] LPBSTR pValue);

    void SetValue([in] LPCTSTR variableName, [in] LPCTSTR pValue);

    void Clear(void);

    HRESULT Remove([in] LPCTSTR variableName);

    HRESULT SuppressLogValue([in] LPCTSTR variableName);

    void Save(void);

};

 

This interface provides access to task sequence variables. You can access this interface using your page’s TSVariables() method.

Related Topics

Wizard Page Interfaces
void GetValue([in] LPCTSTR variableName, [out] LPBSTR pValue)
void SetValue([in] LPCTSTR variableName, [in] LPCTSTR pValue)
void Clear(void)
HRESULT Remove([in] LPCTSTR variableName)
HRESULT SuppressLogValue([in] LPCTSTR variableName)
void Save(void)