IOCSPProperty::Name property

The Name property gets the identifier part of the name-value pair represented by an OCSPProperty object.

This property is read-only.

Syntax


HRESULT get_Name(
  [out] BSTR *pVal
);

Property value

A pointer to a string that contains the identifier part.

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 obtain 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 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: