Visual Basic (Declaration) | |
---|---|
Public Property ConnectionString As String |
C# | |
---|---|
public string ConnectionString {get; set;} |
Connection strings should be specified as follows:
- ArcSDE: For ArcSDE connections you should use the SDEConnectionFilePath to specify the path to an ArcSDE connection file (.sde).
- File Geodatabase: The connection string is a full or relative path to the .gdb folder, for example "C:\MapsAndData\OperationalData.gdb". Relative paths are relative to the executing application.
- Shapefile: The connection string is a full or relative path to a folder containing one or more Shapefiles, for example "C:\MapaAndData\Shapefiles". Relative paths are relative to the executing application.
- Raster: The connection string is a full or relative path to a folder containing one or more raster datasets, for example "C:\MapaAndData\Rasters". Relative paths are relative to the executing application.
Property Value
A System.String representing the connection path or information.Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8