_Catalogsets2::get_OrganizationObjectCategoryName, put_OrganizationObjectCategoryName Property [C++]

The OrganizationObjectCategoryName property is a read/write string that contains the category name of the organization object. This property defaults to "GeneralInfo".

Definition

[C++]

Get method:

HRESULT _Catalogsets2::get_OrganizationObjectCategoryName(BSTR*UnNamedParameter);

Put method:

HRESULT _Catalogsets2::put_OrganizationObjectCategoryName(BSTRUnNamedParameter);

[Visual Basic]

Property OrganizationObjectCategoryName As String

Parameters

[C++]

  • UnNamedParameter
    [in] When putting the property, a BSTR that contains the OrganizationObjectCategoryName.
    [out, retval] When getting the property, a BSTR used to return the OrganizationObjectCategoryName.

[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.