IOCSPPropertyCollection::InitializeFromProperties method (certadm.h)

The InitializeFromProperties method creates a property set from the properties contained in an existing server configuration.

Syntax

HRESULT InitializeFromProperties(
  [in] const VARIANT *pVarProperties
);

Parameters

[in] pVarProperties

C++ A pointer to an array that contains the property values. Each array element is a VARIANT array that contains the property name BSTR and a value VARIANT.
VB An array that contains the property values. Each array element is a Variant array that contains the property name String and a value Variant.

Return value

VB

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 E_UNEXPECTED, the array pointed to by the pVarProperties parameter contained duplicate properties.

If the method returns DISP_E_ARRAYISLOCKED, the array pointed to by the pVarProperties parameter is locked.

Requirements

   
Minimum supported client None supported
Minimum supported server Windows Server 2008 Datacenter, Windows Server 2008 Enterprise [desktop apps only]
Target Platform Windows
Header certadm.h (include Certserv.h)
Library Certadm.lib
DLL Certadm.dll

See also

IOCSPPropertyCollection