IRemoteDatabaseWorkspaceFactory Interface

Provides access to members that manage remote database connection information.

Members

Name Description
Method DeleteConnectionFile Deletes the remote database workspace connection file.
Method EditConnectionFile Edits the properties of a remote database workspace connection file.
Method RenameConnectionFile Renames the remote database workspace connection file.

IRemoteDatabaseWorkspaceFactory.DeleteConnectionFile Method

Deletes the remote database workspace connection file.

Public Sub DeleteConnectionFile ( _
    ByVal PathName As String _
)
public void DeleteConnectionFile (
    string PathName
);

IRemoteDatabaseWorkspaceFactory.EditConnectionFile Method

Edits the properties of a remote database workspace connection file.

Public Function EditConnectionFile ( _
    ByVal PathName As String, _
    ByVal hWnd As Integer _
) As IWorkspaceName
public IWorkspaceName EditConnectionFile (
    string PathName,
    int hWnd
);

IRemoteDatabaseWorkspaceFactory.RenameConnectionFile Method

Renames the remote database workspace connection file.

Public Function RenameConnectionFile ( _
    ByVal oldPathName As String, _
    ByVal newName As String _
) As IWorkspaceName
public IWorkspaceName RenameConnectionFile (
    string oldPathName,
    string newName
);

Remarks

The oldPathName is the path and connection file name. the newName is the new file name without a path. An error is returned if newName has a fully qualified path.

Classes that implement IRemoteDatabaseWorkspaceFactory

Classes Description
SdeWorkspaceFactory (esriDataSourcesGDB) Esri SDE Workspace Factory.
SqlWorkspaceFactory (esriDataSourcesGDB) Sql workspace factory

Remarks

The IRemoteDatabaseWorkspaceFactoryis an optional interface supported by remote database workspaces that contains additional methods for connection file management.

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close