Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[IPropPatchRequest::RemoveProperty is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Adds the name of the property to the list of properties to remove. The property name is prefixed with the namespace that contains it.
Syntax
HRESULT RemoveProperty(
[in] DWORD dwNamespaceID,
[in] LPCSTR pszPropertyName
);
Parameters
-
dwNamespaceID [in]
-
Type: DWORD
Specifies a DWORD that contains the DAV namespace ID of the namespace that the property is part of. This parameter can be one of the following values.
-
DAVNAMESPACE_DAV (0)
-
DAVNAMESPACE_HOTMAIL (1)
-
DAVNAMESPACE_HTTPMAIL (2)
-
DAVNAMESPACE_MAIL (3)
-
DAVNAMESPACE_CONTACTS (4)
-
-
pszPropertyName [in]
-
Type: LPCSTR
Specifies an LPCSTR that contains the name of the property to remove.
Return value
Type: HRESULT
Returns one of the following values.
| Return code | Description |
|---|---|
|
Indicates success. |
|
Indicates that dwNamespaceID is NULL or pszPropertyName is out of bounds. |
|
Indicates that an attempt to allocate memory failed. |
Requirements
| Minimum supported client |
Windows XP [desktop apps only] |
| Minimum supported server |
Windows Server 2003 [desktop apps only] |
| Product |
Outlook Express 6.0 |
| Header |
|
| IDL |
|
| DLL |
|