ICertEncodeCRLDistInfo::SetNameCount method (certenc.h)

The SetNameCount method sets a name count for the specified distribution point in a certificate revocation list (CRL) distribution information array.

Syntax

HRESULT SetNameCount(
  [in] LONG DistPointIndex,
  [in] LONG NameCount
);

Parameters

[in] DistPointIndex

Specifies the index of the distribution point for which to set the name count.

[in] NameCount

Specifies the name count.

Return value

VB

If the method succeeds, the method 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

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header certenc.h (include Certsrv.h)
Library Certidl.lib
DLL Certenc.dll

See also

ICertEncodeCRLDistInfo

ICertEncodeCRLDistInfo::GetNameCount

ICertEncodeCRLDistInfo::SetNameEntry