ArcFM Solution Developer Guide
SetConnectionProperties Method (IMMDefaultLoginObject)






An IPropertySet object. This PropertySet uses the following properties: USER, PASSWORD, SERVER (Oracle or SQL server), INSTANCE, DATABASE (SQLServer), DATABASEPATH (Access database), VERSION, PXCONNECTIONSTRING (Used to login to Process Framework database)

The login object collects the necessary database connection properties and passes them to this method. This method can then use the connection properties to login to a database without displaying a login dialog.
Syntax
'Declaration
 
Sub SetConnectionProperties( _
   ByVal pPropertySet As ESRI.ArcGIS.esriSystem.IPropertySet _
) 
'Usage
 
Dim instance As IMMDefaultLoginObject
Dim pPropertySet As ESRI.ArcGIS.esriSystem.IPropertySet
 
instance.SetConnectionProperties(pPropertySet)
void SetConnectionProperties( 
   ESRI.ArcGIS.esriSystem.IPropertySet pPropertySet
)
procedure SetConnectionProperties( 
    pPropertySet: ESRI.ArcGIS.esriSystem.IPropertySet
); 
function SetConnectionProperties( 
   pPropertySet : ESRI.ArcGIS.esriSystem.IPropertySet
);
void SetConnectionProperties( 
   ESRI.ArcGIS.esriSystem.IPropertySet* pPropertySet
) 
void SetConnectionProperties( 
   ESRI.ArcGIS.esriSystem.IPropertySet^ pPropertySet
) 

Parameters

pPropertySet

An IPropertySet object. This PropertySet uses the following properties: USER, PASSWORD, SERVER (Oracle or SQL server), INSTANCE, DATABASE (SQLServer), DATABASEPATH (Access database), VERSION, PXCONNECTIONSTRING (Used to login to Process Framework database)

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

IMMDefaultLoginObject Interface
IMMDefaultLoginObject Members

Send Feedback