Initializes the map server with an mxd or pmf file stored at the specified path. The path must be accessible to the server machine.
[Visual Basic 6.0] Sub Connect(
ByVal FilePath As String _
)
[Visual Basic .NET] Public Sub Connect ( _ ByVal FilePath As String _ )
[C#] public void Connect ( string FilePath );
[Java] public void connect ( String FilePath ) throws IOException, AutomationException
[C++]
HRESULT Connect(
BSTR FilePath
);
Parameters
FilePath [in]
FilePath is a parameter of type BSTR