This document is archived and information here might be outdated. Recommended version. |
Returns the locator workspace for a workspace.
[Visual Basic .NET] Public Function GetLocatorWorkspace ( _ ByVal wks As IWorkspace _ ) As ILocatorWorkspace
[C#] public ILocatorWorkspace GetLocatorWorkspace ( IWorkspace wks );
[C++]
HRESULT GetLocatorWorkspace(
IWorkspace* wks
);
[C++]
Parameters wks [in]
wks is a parameter of type IWorkspace*
The GetLocatorWorkspace method returns a reference to a locator workspace contained by the workspace represented by the wks parameter.
If the wks parameter is a reference to an ArcSDE workspace, then this method returns a reference to a DatabaseLocatorWorkspace. If the wks parameter is a reference to a file workspace, such as a shapefile or coverage workspace, then this method returns a reference to a LocalLocatorWorkspace that contains locators in the folder that contains the file workspace. If the wks parameter is a reference to a personal Geodatabase workspace, then this method returns a reference to a LocalLocatorWorkspace that contains locators in the folder that contains the personal Geodatabase.
ILocatorManager Interface | ILocalLocatorWorkspace Interface | ILocalLocatorWorkspace.Path Property | ILocatorManager.GetLocatorWorkspace Method | GxLocatorFactory Class | IRemoteDatabaseWorkspaceFactory Interface | ISetDefaultConnectionInfo Interface | IWorkspaceName Interface | IFDOToADOConnection.Connect Method | IFDOToADOConnection.CreateADOConnection Method | FdoAdoConnection Class | IWorkspaceName2 Interface | IDatabaseConnectionInfo Interface | Workspace Class | IDataset Interface