ArcObjects Library Reference  (GeoDatabase)    

IDataset.Rename Method

Renames this Dataset.

[Visual Basic 6.0]
Sub Rename(
    ByVal Name As String _
)
[Visual Basic .NET]
Public Sub Rename ( _
    ByVal Name As String _
)
[C#]
public void Rename (
    string Name
);
[Java]
public void rename (
    String Name
)
throws
    IOException,
    AutomationException
[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