ILocatorWorkspaceName Interface

Provides access to members that describe a locator workspace.

When To Use

Use the ILocatorWorkspaceName interface to get information that describes a locator workspace.

Members

Name Description
Read/write property Path The path to the folder that contains the locator workspace.
Read-only property Type The type of locator workspace.
Read/write property WorkspaceName The Name object for the ArcSDE workspace that contains the locator workspace.

ILocatorWorkspaceName.Path Property

The path to the folder that contains the locator workspace.

Public Property Path As String
public string Path {get; set;}

Remarks

If the locator workspace represented by the LocatorWorkspaceName object is a file system locator workspace, then the Path property returns the path to the file system folder that contains the locator workspace. The value returned by the Path property depends on the value returned by the Type property, as shown in the following table:

If the value of the Type property is: then the Path property returns:
esriLocalSystemLocatorWorkspace an empty string
esriFileSystemLocatorWorkspace the path to the file system folder that contains the locator workspace

ILocatorWorkspaceName.Type Property

The type of locator workspace.

Public ReadOnly Property Type As esriLocatorWorkspaceType
public esriLocatorWorkspaceType Type {get;}

Description

The Type property returns a value from the esriLocatorWorkspaceType enumeration that indicates the type of locator workspace that the LocatorWorkspaceName object represents.

ILocatorWorkspaceName.WorkspaceName Property

The Name object for the ArcSDE workspace that contains the locator workspace.

Public Property WorkspaceName As IWorkspaceName
public IWorkspaceName WorkspaceName {get; set;}

Remarks

The WorkspaceName property returns a WorkspaceName object that represents the ArcSDE workspace that contains the locator workspace represented by the LocatorWorkspaceName object. Use the Type property to determine if the locator workspace is an ArcSDE locator workspace before using this property.

Classes that implement ILocatorWorkspaceName

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.