ISdo::ResetProperty method (sdoias.h)

The ResetProperty method resets the specified property to its default value.

Syntax

HRESULT ResetProperty(
  LONG Id
);

Parameters

Id

Specifies the ID of an existing property.

Return value

If the method succeeds the return value is S_OK.

If the method fails, the return value is one of the following error codes.

Remarks

Very few IAS properties have default values. If you reset a property that does not have a default value, E_INVALIDARG is returned. In Visual Basic, an error similar to the following is returned: "Function call is invalid".

Note  Internet Authentication Service (IAS) was renamed Network Policy Server (NPS) starting with Windows Server 2008.
 

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header sdoias.h
DLL Iassdo.dll

See also

ISdo

ISdo::PutProperty

ISdo::Restore