ArcObjects Library Reference (GeoDatabase)  

IDataset.Rename Method

Renames this Dataset.

[Visual Basic .NET]
Public Sub Rename ( _
    ByVal Name As String _
)
[C#]
public void Rename (
    string Name
);
[C++]
HRESULT Rename(
  BSTR Name
);
[C++]

Parameters

Name [in]   Name is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

IDataset::Rename does not support the renaming of Graph objects such as a Geometric Network.  In addition, certain feature classes, such as network feature classes, cannot be renamed.

See Also

IDataset Interface