IObjectConstructString::get_ConstructString method (comsvcs.h)
Retrieves the constructor string for the object.
Object constructor strings should not be used to store security-sensitive information.
Syntax
HRESULT get_ConstructString(
[out] BSTR *pVal
);
Parameters
[out] pVal
A reference to an administratively supplied object constructor string.
Return value
This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.
Remarks
You can use this method when implementing IObjectConstruct::Construct, which is called by the COM+ environment when your component is marked as supporting object construction.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | comsvcs.h |