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


IWorkspace.PathName Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IWorkspace.PathName Property

The file system full path of the workspace.

[Visual Basic .NET]
Public ReadOnly Property PathName As String
[C#]
public string PathName {get;}
[C++]
HRESULT get_PathName(
  System.String* PathName
);
[C++]

Parameters PathName [out, retval]
PathName is a parameter of type BSTR*

Product Availability

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

Remarks

If a remote workspace is opened using connection properties, this will be empty.

See Also

IWorkspace Interface

.NET Snippets

Get Path for a Layer

.NET Samples

Implementing a schematic digitizing tool (Code Files: DockableDigit)