This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceFactory Interface > IWorkspaceFactory.ReadConnectionPropertiesFromFile Method (ArcObjects .NET 10.4 SDK) |
The connection properties from the specified file.
[Visual Basic .NET] Public Function ReadConnectionPropertiesFromFile ( _ ByVal fileName As String _ ) As IPropertySet
[C#] public IPropertySet ReadConnectionPropertiesFromFile ( string fileName );
[C++]
HRESULT ReadConnectionPropertiesFromFile(
BSTR fileName,
IPropertySet** ConnectionProperties
);
[C++]
Parameters fileName [in] fileName is a parameter of type BSTR ConnectionProperties [out, retval]
ConnectionProperties is a parameter of type IPropertySet
The filename parameter represents the pathname of a file that contains the connection information to be placed into the IPropertySet variable.