ArcFM Responder Mobile Developer Guide
ConnectionProperties Constructor
Example 






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
)
public ConnectionProperties( 
    workspace: ESRI.ArcGIS.Geodatabase.IWorkspace
); 
public function ConnectionProperties( 
   workspace : ESRI.ArcGIS.Geodatabase.IWorkspace
);
public: ConnectionProperties( 
   ESRI.ArcGIS.Geodatabase.IWorkspace* 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 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

ConnectionProperties Class
ConnectionProperties Members

Send Feedback