|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILocatorWorkspaceName
Provides access to members that describe a locator workspace.
Use the ILocatorWorkspaceName interface to get information that describes a locator workspace.
ILocatorWorkspace2
,
ILocatorManager2
,
DatabaseLocatorWorkspace
,
ILocatorWorkspace
,
ILocatorManager.getLocatorWorkspaceFromPath(String)
,
LocatorEnumerator
,
ILocatorWorkspaceName2
,
LocatorWorkspaceName
,
IDatabaseLocatorWorkspace
,
LocalLocatorWorkspace
,
ILocatorManager
,
LocatorManager
,
ILocatorWorkspaceName
Method Summary | |
---|---|
String |
getPath()
The path to the folder that contains the locator workspace. |
int |
getType()
The type of locator workspace. |
IWorkspaceName |
getWorkspaceName()
The Name object for the ArcSDE workspace that contains the locator workspace. |
void |
setPath(String path)
The path to the folder that contains the locator workspace. |
void |
setWorkspaceNameByRef(IWorkspaceName wksName)
The Name object for the ArcSDE workspace that contains the locator workspace. |
Method Detail |
---|
String getPath() throws IOException, AutomationException
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 |
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setPath(String path) throws IOException, AutomationException
path
- The path (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IWorkspaceName getWorkspaceName() throws IOException, AutomationException
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setWorkspaceNameByRef(IWorkspaceName wksName) throws IOException, AutomationException
wksName
- A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getType() throws IOException, AutomationException
The Type property returns a value from the esriLocatorWorkspaceType enumeration that indicates the type of locator workspace that the LocatorWorkspaceName object represents.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocatorWorkspaceName.getType()
,
esriLocatorWorkspaceType
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |