ISdo::ResetProperty method

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

   
Windows version None supported Windows Server 2008
Target Platform Windows
Header sdoias.h
DLL Iassdo.dll

See Also

ISdo

ISdo::PutProperty

ISdo::Restore