IFPCLdapServersSet::MoveUp method

Applies to: desktop apps only

The MoveUp method moves the specified server one step up the list of LDAP servers, which corresponds to the order in which LDAP servers handle an authentication request. If the first server in the list is unavailable, the request is directed to the second server, and so on.

Syntax

HRESULT MoveUp(
  [in]  Long index,
  [in]  long index
);
FPCLdapServersSet.MoveUp( _
  ByVal index As Long, _
  ByVal index As long _
)

Parameters

  • index [in]

    C++

    Required. Index (the current position indicated by the Order property of the IFPCLdapServer interface) of the LDAP server to move up.

    VB

    Required. Index (the current position indicated by the Order property of the FPCLdapServer object) of the LDAP server to move up.

Return value

C++

This method returns S_OK if the call is successful; otherwise, it returns an error code.

VB

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Remarks

Use the MoveDown method to move a server one step down the list of LDAP servers.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCLdapServersSet

 

 

Build date: 7/12/2010