ICcObject::Name (Windows CE 5.0)
This method sets and gets the name of a datastore object.
HRESULT get_Name( [out, retval] BSTR*out_pbstrName);HRESULT put_Name( [in] BSTRin_bstrName);
Parameters
- out_pbstrName, in_bstrName
The name of a datastore object.
Return Values
The following table shows the return values for this method.
Value | Description |
---|---|
E_OUTOFMEMORY | Indicates the method could not allocate the bstr parameter out_pbstrID. |
E_INVALIDARG | Indicates an invalid argument. |
E_DATASTORE_PROTECTED | Indicates the method could not set Name because NAME is protected. |
E_DATASTORE_XMLTEXT | Indicates an input parameter, not XML text. |
S_FALSE | Returns if the name is empty. |
Requirements
OS Version: Windows 2000, Windows XP Home, Windows XP Pro, Windows Server 2003, and Windows Server 2003 Service Pack 1.
Header: CcDatastore.h.
Link Library: none.
See Also
Send Feedback on this topic to the authors