Disconnect Method of the IFPCArrays Interface

The Disconnect method disconnects from the specified array.

C++

Syntax

HRESULT Disconnect(
  [in]  IFPCArray pItem
);

Parameters

  • pItem
    Required. Pointer to an IFPCArray interface that represents the array from which to disconnect.

Return Value

The method can return one of the following:

  • S_OK, indicating that the operation succeeded.
  • E_DISCONNECT_CONTAINING_ARRAY, indicating that an attempt was made to disconnect the ISA Server computer from its containing array.
  • An error code indicating that the operation failed.

Visual Basic

Syntax

Sub Disconnect( _
  ByRef pItem As FPCArray _
)

Parameters

  • pItem
    Required. Reference to an FPCArray object that represents the array from which to disconnect.

Return Value

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler. In particular, an E_DISCONNECT_CONTAINING_ARRAY error is raised when an attempt is made to disconnect an ISA Server computer from its containing array.

Remarks

This method is deprecated in Forefront TMG. Call the DisconnectFromConfigurationStorageServer method on the root (FPC) object to disconnect a remote management computer from a Forefront TMG server.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCArrays

Send comments about this topic to Microsoft

Build date: 6/30/2010