| Visual Basic (Declaration) | |
|---|---|
Public Property Service As LocalMapService | |
| C# | |
|---|---|
public LocalMapService Service {get; set;} | |
To support editing the Service property must have an editable LocalFeatureService set. LocalMapServices and LocalFeatureServices also support definition queries, time definitions and selections.
| Exception | Description |
|---|---|
| System.InvalidOperationException | The Service property cannot be set if the ArcGISLocalFeatureLayer is initialized. |
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8