IFPCArrays::Disconnect method
Applies to: desktop apps only
The Disconnect method disconnects from the specified array.
Syntax
HRESULT Disconnect(
[in, ref] IFPCArray &pItem
);
FPCArrays.Disconnect( _
ByRef pItem As FPCArray _
)
Parameters
pItem [in, ref]
C++ Required. Pointer to an IFPCArray interface that represents the array from which to disconnect. VB Required. Reference to an FPCArray object that represents the array from which to disconnect.
Return value
C++
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.
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. 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
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
Build date: 7/12/2010