IFPCEEVpnNetworkConfiguration::SetAssignedServer method
Applies to: desktop apps only
The SetAssignedServer method sets the name of the FPCServer object representing the Forefront TMG computer that will serve as the VPN tunnel endpoint in the array when Network Load Balancing (NLB) integration is not enabled in the array.
Syntax
HRESULT SetAssignedServer(
[in] BSTR bstrServerName
);
FPCVpnNetworkConfiguration.SetAssignedServer( _
ByVal bstrServerName As String _
)
Parameters
bstrServerName [in]
C++ BSTR that specifies the name of the Forefront TMG computer. VB String that specifies the name of the Forefront TMG computer.
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
This method sets the AssignedServer property.
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