IFPCServer5::CanEnableBranchCache method

Applies to: desktop apps only

The CanEnableBranchCache method determines whether BranchCache can be enabled on the server. (This method is introduced in Forefront TMG 2010 SP 1.)

Syntax

HRESULT CanEnableBranchCache(
  [out]       BOOL *pfStarted,
  [out, ref]  Boolean &pfStarted
);
FPCServer.CanEnableBranchCache( _
  ByRef pfStarted As BOOL, _
  ByRef pfStarted As Boolean _
)

Parameters

  • pfStarted [out]

    C++

    Pointer to a Boolean variable that is set on return to VARIANT_TRUE if BranchCache can be enabled on the server, or to VARIANT_FALSE if BranchCache is disabled on the server.

    VB

    Boolean variable that indicates whether BranchCache can be enabled on the server.

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

BranchCache in Hosted Cache mode can be enabled only on Forefront TMG servers running on the Windows Server 2008 R2 operating system.

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

FPCServer

 

 

Build date: 7/12/2010