ArcObjects Library Reference (Geoprocessing)  

IGpDispatch.CreateUniqueName Method

Creates a unique name for the given workspace.

[Visual Basic .NET]
Public Function CreateUniqueName ( _
    ByVal inputTableName As String, _
    [ByRef Workspace As Object] _
) As String
[C#]
public string CreateUniqueName (
    string inputTableName,
    ref object Workspace
);
[C#]

Optional Values

Workspace   To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT CreateUniqueName(
  BSTR inputTableName,
  VARIANT* Workspace,
  BSTR* outputTableName
);
[C++]

Parameters

inputTableName [in]   inputTableName is a parameter of type BSTR Workspace [optional]   Workspace is a parameter of type VARIANT

  To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

outputTableName [out, retval]   outputTableName is a parameter of type BSTR

Product Availability

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

See Also

IGpDispatch Interface