Returns the locator workspace for a workspace.
[Visual Basic 6.0] Function GetLocatorWorkspace(
ByVal wks As IWorkspace _
) As ILocatorWorkspace
[Visual Basic .NET] Public Function GetLocatorWorkspace ( _ ByVal wks As IWorkspace _ ) As ILocatorWorkspace
[C#] public ILocatorWorkspace GetLocatorWorkspace ( IWorkspace wks );
[Java] public ILocatorWorkspace getLocatorWorkspace ( IWorkspace wks ) throws IOException, AutomationException
[C++] HRESULT GetLocatorWorkspace( IWorkspace* wks, ILocatorWorkspace** locWks );
Parameters
wks [in]
wks is a parameter of type IWorkspace
locWks [out, retval]
locWks is a parameter of type ILocatorWorkspace
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 | GxLocatorFolder Class | GxLocatorFactory Class | IGxLocatorFolder Interface | ILocalLocatorWorkspace Interface | ILocatorManager.GetLocatorWorkspace Method | ILocalLocatorWorkspace.Path Property | ISetDefaultConnectionInfo Interface | IRemoteDatabaseWorkspaceFactory Interface | IWorkspaceName Interface | IFDOToADOConnection.Connect Method | IFDOToADOConnection.CreateADOConnection Method | FdoAdoConnection Class | Workspace Class | IDataset Interface | IWorkspaceName2 Interface | IDatabaseConnectionInfo Interface