IOCSPProperty::Value property

The Value property gets or sets the data part of the name-value pair represented by an OCSPProperty object.

This property is read/write.

Syntax


HRESULT put_Value(
  [in]  VARIANT newVal
);

HRESULT get_Value(
  [out] VARIANT *pVal
);

Property value

The data part to set.

Error codes

If the method succeeds, it returns S_OK.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

If the method returns HRESULT_FROM_WIN32(ERROR_INVALID_STATE), either the method failed to initialize a lock on the OCSPProperty object or the object failed to initialize.

If the method returns E_INVALIDARG, the pVal parameter was set to NULL.

Remarks

For possible values of newVal and pVal, see OCSPServiceProperties or ProviderProperties.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]

Header

Certadm.h (include Certserv.h)

IDL

Certadm.idl

Library

Certadm.lib

DLL

Certadm.dll

IID

IID_IOCSPProperty is defined as 66FB7839-5F04-4C25-AD18-9FF1A8376EE0

See also

IOCSPProperty

 

 

Show: