Retrieves a URL that indicates where to find the implementation of the object.
Syntax
HRESULT get_codeBase(
BSTR *p
);
Parameters
- p
- Address of a string (BSTR) variable that receives the URL for the object implementation. For details, see the codebase property.
Return Value
Returns S_OK if successful, or an error code otherwise.
Sets a URL that indicates where to find the implementation of the object.
Syntax
HRESULT put_codeBase(
BSTR v
);
Parameters
- v
- String (BSTR) that specifies the URL for the object implementation to set. For details, see the codebase property.
Return Value
Returns S_OK if successful, or an error code otherwise.