This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > TrackingAnalyst > ESRI.ArcGIS.TrackingAnalyst > Interfaces > IS > IServer Interface > IServer.CreateConnection Method (ArcObjects .NET 10.5 SDK) |
Creates a server connection.
[Visual Basic .NET] Public Function createConnection ( _ ByVal cName As String, _ ByVal cUserName As String, _ ByVal cPassword As String, _ ByVal cConnectionString As String _ ) As IConnection
[C#] public IConnection createConnection ( string cName, string cUserName, string cPassword, string cConnectionString );
[C++]
HRESULT createConnection(
BSTR cName,
BSTR cUserName,
BSTR cPassword,
BSTR cConnectionString,
IConnection** ppiConnection
);
[C++]
Parameters cName [in] cName is a parameter of type BSTR cUserName [in] cUserName is a parameter of type BSTR cPassword [in] cPassword is a parameter of type BSTR cConnectionString [in] cConnectionString is a parameter of type BSTR ppiConnection [out, retval]
ppiConnection is a parameter of type IConnection