Share via


AddCryptoCheckpoint method of the MSCluster_Resource class

Adds an encrypted crypto key to the list of crypto keys being checkpointed for the resource.

Syntax

void AddCryptoCheckpoint(
  [in] string CheckpointName
);

Parameters

CheckpointName [in]

A pointer to a null-terminated Unicode string that specifies the cryptographic service provider (CSP) key container to be replicated. The CSP key container must first be created with the CryptoAPI, and the keys in the container must be exportable. The string must specify the CSP provider type, provider name, and key container name using the following syntax:

Type\Name\Key

Note that the values must be separated by a backslash (). The provider type should specify the decimal value of the type, not the constant that represents the value. For example, instead of "PROV_RSA_FULL", use "1". The provider name is optional; if the provider name is omitted, the default CSP provider name associated with the specified provider type will be used.

Return value

This method does not return a value.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\MSCluster
MOF
ClusWmi.mof
DLL
ClusWMI.dll

See also

MSCluster_Resource