ArcFM Desktop Developer Guide
ConnectionProperties Constructor
Example 


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

The workspace.
Initializes a new instance of the ConnectionProperties class.
Syntax
'Declaration
 
Public Function New( _
   ByVal workspace As ESRI.ArcGIS.Geodatabase.IWorkspace _
)
'Usage
 
Dim workspace As ESRI.ArcGIS.Geodatabase.IWorkspace
 
Dim instance As New ConnectionProperties(workspace)
public ConnectionProperties( 
   ESRI.ArcGIS.Geodatabase.IWorkspace workspace
)

Parameters

workspace
The workspace.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionworkspace
System.InvalidOperationExceptionWorkspace does not have any connection properties
System.ArgumentExceptionpropertySet does not contains even number of keys and values
Example
Creating connections properties from an ESRI workspace
var connectionProperties = new ConnectionProperties(workspace);
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

ConnectionProperties Class
ConnectionProperties Members

 

 


Send Comment