ICertSrvSetupKeyInformation::Existing property

The Existing property gets or sets a value that indicates whether the private key already exists.

This property is read/write.

Syntax


HRESULT put_Existing(
  [in]  VARIANT_BOOL bVal
);

HRESULT get_Existing(
  [out] VARIANT_BOOL *pVal
);

Property value

A VARIANT_BOOL variable that specifies whether the private key already exists. A value of VARIANT_TRUE indicates that the key exists. When you set this value to VARIANT_TRUE, you must also set the ContainerName property.

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.

Requirements

Minimum supported client

None supported

Minimum supported server

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

Header

Casetup.h

IDL

Casetup.idl

DLL

Certocm.dll

IID

IID_ICertSrvSetupKeyInformation is defined as 6ba73778-36da-4c39-8a85-bcfa7d000793

See also

ICertSrvSetupKeyInformation

 

 

Show: