Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCDialingConfiguration::EnableAutoDialToNetwork[C++]

FPCDialingConfiguration.EnableAutoDialToNetwork [Visual Basic]

[C++]

The EnableAutoDialToNetwork method enables automatic dialing when the ISA Server computer first tries to access the network.

HRESULT EnableAutoDialToNetwork(
  BSTR NetworkName,
  BSTR NewDialupConnectionName
);

Parameters

NetworkName
[in] BSTR that specifies the name of the network.
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 Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.
[Visual Basic]

The EnableAutoDialToNetwork method enables automatic dialing when the ISA Server computer first tries to access the network.

Sub EnableAutoDialToNetwork( _
  ByVal NetworkName As String, _
  [ ByVal newDialupConnectionName As String ] _
)

Parameters

NetworkName
[in] 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.

Return Values

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

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCDialingConfiguration