_Catalogsets2::get_OrganizationObjectName, put_OrganizationObjectName Property [C++]
The OrganizationObjectName property is a read/write String that contains the name of the organization object. This property defaults to "Organization".
Definition
[C++]
Get method:
HRESULT _Catalogsets2::get_OrganizationObjectName(BSTR*UnNamedParameter);
Put method:
HRESULT _Catalogsets2::put_OrganizationObjectName(BSTRUnNamedParameter);
[Visual Basic]
Property OrganizationObjectName As String
Parameters
[C++]
- UnNamedParameter
[in] When putting the property, a BSTR that contains the OrganizationObjectName.
[out, retval] When getting the property, a BSTR used to return the OrganizationObjectName.
[Visual Basic] None.
[C++]
Return Values
These methods return an HRESULT indicating whether they completed successfully. See the Error Values section for more details.
Error Values
[C++] These methods return S_OK (0x00000000) to indicate success and standard COM HRESULT error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object, which can be accessed using the API function GetErrorInfo. In particular, the GetDescription method of the IErrorInfo interface may return a text description of the error.
[Visual Basic] This property sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.
Remarks
[C++]
The parameter UnNamedParameter contains valid data only if the property was accessed successfully.
For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.
[Visual Basic] For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.
See Also
[C++]Catalogsets2 Object
[Visual Basic]Catalogsets2 Object
Copyright © 2005 Microsoft Corporation.
All rights reserved.