_SimpleFindSearchInfo::get_user_org_name, put_user_org_name

Ee785024.c++_off(en-US,CS.10).gifEe785024.vb_on(en-US,CS.10).gif

The user_org_name property is a read/write Variant that contains the user organization name to search for; if left null, the user organization name does not become part of the search criteria.

Definition

Get method:

HRESULT _SimpleFindSearchInfo::get_user_org_name(VARIANT*user_org_name);

Put method:

HRESULT _SimpleFindSearchInfo::put_user_org_name(VARIANT*user_org_name);

Parameters

user_org_name

[in] When putting the property, a VARIANT that contains the user organization name to search for.
[out, retval] When getting the property, a VARIANT used to return the user organization name to search for.

Return Values

These methods return an HRESULT indicating whether they completed successfully. See the Error Values section for more details.

Error Values

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.

Remarks

The user_org_name parameter contains valid data only if the property is accessed successfully.

For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.

See Also

SimpleFindSearchInfo Object

OrderGroupManager::SimpleDelete

OrderGroupManager::SimpleFind


All rights reserved.