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


IWorkspaceName2.ConnectionString Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceName2 Interface > IWorkspaceName2.ConnectionString Property
ArcGIS Developer Help

IWorkspaceName2.ConnectionString Property

The connection properties of the WorkspaceName.

[Visual Basic .NET]
Public Property ConnectionString As String
[C#]
public string ConnectionString {get; set;}
[C++]
HRESULT get_ConnectionString(
  System.String* connectionSting
);
[C++]
HRESULT put_ConnectionString(
  BSTR connectionSting
);
[C++]
Parameters
connectionSting [out, retval]

connectionSting is a parameter of type BSTR* connectionSting [in]
connectionSting is a parameter of type BSTR

Product Availability

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

See Also

IWorkspaceName2 Interface

.NET Samples

Publish an image service and set configurations