Initializes a new RasterLayer object and connects the layer to an ArcSDE geodatabase raster.
Namespace:
ESRI.ArcGISExplorer.MappingAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public static RasterLayer OpenArcSDERaster( ArcSDEConnectionProperties connectionProperties, string rastername ) |
Visual Basic (Declaration) |
---|
Public Shared Function OpenArcSDERaster ( _ connectionProperties As ArcSDEConnectionProperties, _ rastername As String _ ) As RasterLayer |
Parameters
- connectionProperties
- Type: ESRI.ArcGISExplorer.Data..::.ArcSDEConnectionProperties
An ArcSDEConnectionProperties object that contains the connection details for an ArcSDE geodatabase.
- rastername
- Type: System..::.String
The name of an ArcSDE raster.
Return Value
A RasterLayer object connected to the specified ArcSDE raster.Remarks
Use this method to both instantiate a RasterLayer and connect the layer to a raster stored in an ArcSDE geodatabase.
In contrast to the Connect method, an exception will be thrown if the connection properties specified are incorrect.