Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: desktop apps only
The EnableAutoDialToNetwork method enables automatic dialing when the Forefront TMG computer first tries to access the network.
Syntax
HRESULT EnableAutoDialToNetwork(
[in] String NetworkName,
[in] BSTR NetworkName,
[in, optional] String newDialupConnectionName,
[in, optional] BSTR NewDialupConnectionName
);
FPCDialingConfiguration.EnableAutoDialToNetwork( _
ByVal NetworkName As String, _
ByVal NetworkName As BSTR, _
[ ByVal newDialupConnectionName As String ], _
[ ByVal NewDialupConnectionName As BSTR ] _
)
Parameters
NetworkName [in]
C++ BSTR that specifies the name of the network.
VB String value that specifies the name of the network.
newDialupConnectionName [in, optional]
String value that specifies the name of a new dial-up connection to use for automatic dialing. The default value is an empty string.NewDialupConnectionName [in, optional]
BSTR that specifies the name of a new dial-up connection to use for automatic dialing. The default value is an empty string.
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.
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