DsFreeSpnArray function (Windows)

Switch View :
ScriptFree
DsFreeSpnArray function

Applies to: desktop apps only

The DsFreeSpnArray function frees an array returned from the DsGetSpn function.

Syntax

void WINAPI DsFreeSpnArray(
  __in  DWORD cSpn,
  __in  LPTSTR *rpszSpn
);

Parameters

cSpn [in]

Specifies the number of elements contained in rpszSpn.

rpszSpn [in]

Pointer to an array returned from DsGetSpn.

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Redistributable

Active Directory Client Extension onWindows NT 4.0andWindows Me/98/95

Header

Ntdsapi.h

Library

Ntdsapi.lib

DLL

Ntdsapi.dll

Unicode and ANSI names

DsFreeSpnArrayW (Unicode) and DsFreeSpnArrayA (ANSI)

See also

DsGetSpn
Domain Controller and Replication Management Functions

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012