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


IWorkspaceName2.ConnectionString Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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(
  BSTR* 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 (Code Files: ISConfig)