IFPCServer4::StartManagedControlService method
Applies to: desktop apps only
The StartManagedControlService method starts the Microsoft Forefront TMG Managed Control service on the server.
Syntax
HRESULT StartManagedControlService(
[in, optional] VARIANT_BOOL fWaitUntilComplete,
[in, optional] Boolean fWaitUntilComplete
);
FPCServer.StartManagedControlService( _
[ ByVal fWaitUntilComplete As VARIANT_BOOL ], _
[ ByVal fWaitUntilComplete As Boolean ] _
)
Parameters
fWaitUntilComplete [in, optional]
C++ Boolean value that specifies whether the method waits for the operation to complete before returning S_OK or an error. The default value is VARIANT_TRUE.
VB Boolean value that specifies whether the method waits for the operation to complete before returning or raising an error. The default value is True.
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
Call the StopManagedControlService method to stop the Microsoft Forefront TMG Managed Control service on the 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