ArcFM Solution Developer Guide
IsSameDatabase Method (IMMWorkspaceManager)


Connection properties of the first database as IWorkspace
Connection properties of the second database as IWorkspace
This method compares two workspaces by looking at their connection properties.
Syntax
'Declaration
 
Function IsSameDatabase( _
   ByVal pWksp1 As ESRI.ArcGIS.Geodatabase.IWorkspace, _
   ByVal pWksp2 As ESRI.ArcGIS.Geodatabase.IWorkspace _
) As Boolean
'Usage
 
Dim instance As IMMWorkspaceManager
Dim pWksp1 As ESRI.ArcGIS.Geodatabase.IWorkspace
Dim pWksp2 As ESRI.ArcGIS.Geodatabase.IWorkspace
Dim value As Boolean
 
value = instance.IsSameDatabase(pWksp1, pWksp2)
bool IsSameDatabase( 
   ESRI.ArcGIS.Geodatabase.IWorkspace pWksp1,
   ESRI.ArcGIS.Geodatabase.IWorkspace pWksp2
)

Parameters

pWksp1
Connection properties of the first database as IWorkspace
pWksp2
Connection properties of the second database as IWorkspace

Return Value

Boolean
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMWorkspaceManager Interface
IMMWorkspaceManager Members

 

 


Send Comment