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(
  BSTR* 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)