This topic has not yet been rated - Rate this topic

ICertEncodeAltName::Reset method

Applies to: desktop apps only

The Reset method specifies the size of the alternate name array in this object. The value of all elements in the array are set to zero.

Syntax


HRESULT Reset(
  [in]  LONG NameCount
);

Parameters

NameCount [in]

Specifies the number of elements in the array.

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.

Examples

For an example that uses the Reset method, see the ICertEncodeAltName::SetNameEntry method.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows 2000 Server

Header

Certenc.h (include Certsrv.h)

Library

Certidl.lib

DLL

Certenc.dll

IID

IID_ICertEncodeAltName is defined as 1c9a8c70-1271-11d1-9bd4-00c04fb683fa

See also

ICertEncodeAltName

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ