This document is archived and information here might be outdated.  Recommended version.


ISetDefaultConnectionInfo3.SetParameters3 Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISetDefaultConnectionInfo3 Interface > ISetDefaultConnectionInfo3.SetParameters3 Method
ArcGIS Developer Help

ISetDefaultConnectionInfo3.SetParameters3 Method

Sets ArcSDE connection property parameters.

[Visual Basic .NET]
Public Sub SetParameters3 ( _
    ByVal server As String, _
    ByVal instance As String, _
    ByVal authenticationMode As String, _
    ByVal UserName As String, _
    ByVal password As String, _
    ByVal VersionName As String, _
    ByVal historicalInfo As Object _
)
[C#]
public void SetParameters3 (
    string server,
    string instance,
    string authenticationMode,
    string UserName,
    string password,
    string VersionName,
    object historicalInfo
);
[C++]
HRESULT SetParameters3(
  BSTR server,
  BSTR instance,
  BSTR authenticationMode,
  BSTR UserName,
  BSTR password,
  BSTR VersionName,
  VARIANT historicalInfo
);
[C++]
Parameters
server [in]

server is a parameter of type BSTR instance [in]
instance is a parameter of type BSTR authenticationMode [in]
authenticationMode is a parameter of type BSTR UserName [in]
UserName is a parameter of type BSTR password [in]
password is a parameter of type BSTR VersionName [in]
VersionName is a parameter of type BSTR historicalInfo [in]
historicalInfo is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The SetParameters3 method extends the functionality present in SetParameters by allowing the Authentication Mode and Historical Info to be included as default connection properties. 

See Also

ISetDefaultConnectionInfo3 Interface