ArcObjects Library Reference (Carto)  

IDataLayerExtension.Connect Method

Connects the layer to its data source. An optional name object can be specified to aid in repairing a lost connection.

[Visual Basic .NET]
Public Function Connect ( _
    ByVal pOptRepairName As IName _
) As Boolean
[C#]
public bool Connect (
    IName pOptRepairName
);
[C++]
HRESULT Connect(
  IName* pOptRepairName,
  VARIANT_BOOL* Succeeded
);
[C++]

Parameters

pOptRepairName [in]

  pOptRepairName is a parameter of type IName

Succeeded [out, retval]   Succeeded is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IDataLayerExtension Interface