ArcFM Responder Mobile Developer Guide
OpenWorkspace Method (PersistInfo)






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 System.String, _
   ByVal systemMode As System.Boolean _
) As System.Boolean
'Usage
 
Dim instance As PersistInfo
Dim pWorkspace As ESRI.ArcGIS.Geodatabase.IWorkspace
Dim treeName As System.String
Dim systemMode As System.Boolean
Dim value As System.Boolean
 
value = instance.OpenWorkspace(pWorkspace, treeName, systemMode)
public System.bool OpenWorkspace( 
   ESRI.ArcGIS.Geodatabase.IWorkspace pWorkspace,
   System.string treeName,
   System.bool systemMode
)
public function OpenWorkspace( 
    pWorkspace: ESRI.ArcGIS.Geodatabase.IWorkspace;
    treeName: System.String;
    systemMode: System.Boolean
): System.Boolean; 
public function OpenWorkspace( 
   pWorkspace : ESRI.ArcGIS.Geodatabase.IWorkspace,
   treeName : System.String,
   systemMode : System.boolean
) : System.boolean;
public: System.bool OpenWorkspace( 
   ESRI.ArcGIS.Geodatabase.IWorkspace* pWorkspace,
   System.string* treeName,
   System.bool systemMode
) 
public:
System.bool OpenWorkspace( 
   ESRI.ArcGIS.Geodatabase.IWorkspace^ pWorkspace,
   System.String^ treeName,
   System.bool systemMode
) 

Parameters

pWorkspace
treeName
the tree name to open
systemMode
false uses a user db
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PersistInfo Class
PersistInfo Members

Send Feedback