ArcFM Solution Developer Guide
GetNumWorkspaces Method (IMMWorkspaceManager)






Allows a propertyset to be passed in using IPropertySet

Allows options to be passed in using the mmWorkspaceOptions enumeration; options passed as Long

This method counts the number of workspaces.
Syntax
'Declaration
 
Function GetNumWorkspaces( _
   ByVal pPS As ESRI.ArcGIS.esriSystem.IPropertySet, _
   ByVal lOptions As System.Integer _
) As System.Integer
'Usage
 
Dim instance As IMMWorkspaceManager
Dim pPS As ESRI.ArcGIS.esriSystem.IPropertySet
Dim lOptions As System.Integer
Dim value As System.Integer
 
value = instance.GetNumWorkspaces(pPS, lOptions)
System.int GetNumWorkspaces( 
   ESRI.ArcGIS.esriSystem.IPropertySet pPS,
   System.int lOptions
)
function GetNumWorkspaces( 
    pPS: ESRI.ArcGIS.esriSystem.IPropertySet;
    lOptions: System.Integer
): System.Integer; 
function GetNumWorkspaces( 
   pPS : ESRI.ArcGIS.esriSystem.IPropertySet,
   lOptions : System.int
) : System.int;
System.int GetNumWorkspaces( 
   ESRI.ArcGIS.esriSystem.IPropertySet* pPS,
   System.int lOptions
) 
System.int GetNumWorkspaces( 
   ESRI.ArcGIS.esriSystem.IPropertySet^ pPS,
   System.int lOptions
) 

Parameters

pPS
Allows a propertyset to be passed in using IPropertySet
lOptions

Allows options to be passed in using the mmWorkspaceOptions enumeration; options passed as Long

Return Value

Long
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

IMMWorkspaceManager Interface
IMMWorkspaceManager Members

Send Feedback