ArcObjects Library Reference  (Geoprocessing)    

IGPUtilities.CreateTableName Method

Creates a table name object from the given catalog path.

[Visual Basic 6.0]
Function CreateTableName(
    ByVal catalogPath As String _
) As IName
[Visual Basic .NET]
Public Function CreateTableName ( _
    ByVal catalogPath As String _
) As IName
[C#]
public IName CreateTableName (
    string catalogPath
);
[Java]
public IName createTableName (
    String catalogPath
)
throws
    IOException,
    AutomationException
[C++]
HRESULT CreateTableName(
  BSTR catalogPath,
  IName** ppName
);
[C++]

Parameters

catalogPath [in]

  catalogPath is a parameter of type BSTR

ppName [out, retval]

  ppName is a parameter of type IName

Product Availability

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

Remarks

The CreateTableName method takes in an ArcCatalog path string of a table and returns a Name object [IName].

See the included code sample below.

[Visual Basic 6.0]

The following code sample shows how to create a table name from the GPUtilites object.

'Create the GPUtilities object

Dim pGPUtils as IGPUtilities
Set pGPUtils = New GPUtilities

'Create the IDataset object

Dim pDataset as IDataset
Set pDataset = pGPUtils.CreateTableName("D:\workspace\test.mdb\crimefreq")

See Also

IGPUtilities Interface

 


Feedback Send feedback on this page