laptop and a wrench

不具合

IDataLayer fails in changing login info for a RasterLayer.

最後に公開された状態: February 14, 2015 No Product Found
不具合 ID 番号 NIM058287
送信されましたJune 14, 2010
最終更新日April 2, 2025
適用対象No Product Found
見つかったバージョン9.3.1
プログラム言語C#
ステータスWill Not Be Addressed

参考情報

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

対処法

Instead of changing the connection parameters in IDataLayer.DatasourceName for changing the workspace, the new raster / raster catalog is opened from the new Workspace with IRasterWorkspaceEx.OpenRasterDataset(<a href="http://oldDatasetName.Name" target="_blank">oldDatasetName.Name</a>) or IRasterWorkspaceEx.OpenRasterCatalog(<a href="http://oldDatasetName.Name" target="_blank">oldDatasetName.Name</a>). The return value is used to set IDataLayer.DatasourceName.private static void SpecialTreatmentForRasterData(ref IDatasetName datasetName){ IRasterWorkspaceEx newWorkspaceAsRasterWorkspaceEx = ((IName)datasetName.WorkspaceName).Open() as IRasterWorkspaceEx; if (newWorkspaceAsRasterWorkspaceEx != null && (datasetName.Type == esriDatasetType.esriDTRasterDataset || datasetName.Type == esriDatasetType.esriDTRasterCatalog)) { IDataset newDataset = datasetName.Type == esriDatasetType.esriDTRasterDataset ? (IDataset)newWorkspaceAsRasterWorkspaceEx.OpenRasterDataset(<a href="http://datasetName.Name" target="_blank">datasetName.Name</a>) : (IDataset)newWorkspaceAsRasterWorkspaceEx.OpenRasterCatalog(<a href="http://datasetName.Name" target="_blank">datasetName.Name</a>); datasetName = (IDatasetName)newDataset.FullName; }}

再現の手順

不具合 ID: NIM058287

ソフトウェア:

  • No Product Found

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動