Platform SDK: TAPI

ITDirectoryObject::put_Name

This method sets the name of the directory object.

HRESULT put_Name(
  BSTR pName
);

Parameters

pName
[in] Pointer to BSTR representation of directory name.

Remarks

Changes made will not take effect on the server until the ITDirectory::ModifyDirectoryObject method is called.

Return Values

Value Meaning
S_OK Method succeeded.
E_POINTER The pName parameter is not a valid pointer.
E_OUTOFMEMORY Insufficient memory exists to perform the operation.
E_FAIL Unspecified error.
E_NOTIMPL This method is not yet implemented.

Remarks

The application must use SysAllocString to allocate memory for the pName parameter and use SysFreeString to free the memory when the variable is no longer needed.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Version: Requires TAPI 3.0 or later.
  Header: Declared in Rend.h.
  Library: Use Rendid.lib.

See Also

ITDirectoryObject, ITDirectoryObject::get_Name