ArcFM Desktop Developer Guide
OpenWorkspace Method (PersistInfo)


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

the tree name to open
false uses a user db
This method opens a given workspace and specifies whether to read and write to the MM_SYSTEM_PERSIST_INFO table or the MM_PERSIST_INFO table. Most users don't have access to the MM_SYSTEM_PERSIST_INFO table. If the parameter is set to false, the login user name is used to read and write to the MM_PERSIST_INFO table.
Syntax
'Declaration
 
Public Function OpenWorkspace( _
   ByVal pWorkspace As ESRI.ArcGIS.Geodatabase.IWorkspace, _
   ByVal treeName As String, _
   ByVal systemMode As Boolean _
) As Boolean
'Usage
 
Dim instance As PersistInfo
Dim pWorkspace As ESRI.ArcGIS.Geodatabase.IWorkspace
Dim treeName As String
Dim systemMode As Boolean
Dim value As Boolean
 
value = instance.OpenWorkspace(pWorkspace, treeName, systemMode)
public bool OpenWorkspace( 
   ESRI.ArcGIS.Geodatabase.IWorkspace pWorkspace,
   string treeName,
   bool systemMode
)

Parameters

pWorkspace
treeName
the tree name to open
systemMode
false uses a user db
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

PersistInfo Class
PersistInfo Members

 

 


Send Comment