Share via


_Catalogsets2::get_OrganizationObjectCatalogSetKey, put_OrganizationObjectCatalogSetKey Property [C++]

The OrganizationObjectCatalogSetKey property is a read/write string that contains the CatalogSet key for the organization object. This property defaults to "Org_catalog_set".

Definition

[C++]

Get method:

HRESULT _Catalogsets2::get_OrganizationObjectCatalogSetKey(BSTR*UnNamedParameter);

Put method:

HRESULT _Catalogsets2::put_OrganizationObjectCatalogSetKey(BSTRUnNamedParameter);

[Visual Basic]

Property OrganizationObjectCatalogSetKey As String

Parameters

[C++]

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

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