This document is archived and information here might be outdated.  Recommended version.

IACFeatureLayerAdmin.Connect Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IACFeatureLayerAdmin Interface > IACFeatureLayerAdmin.Connect Method
ArcGIS Developer Help

IACFeatureLayerAdmin.Connect Method

Connects to the feature layer.

[Visual Basic .NET]
Public Sub Connect ( _
    ByVal LayerInfo As String, _
    ByVal request As IIMSAxlRequest, _
    ByVal spatialRef As ISpatialReference, _
    ByVal MapUnits As acMapUnits, _
    ByVal FeatureClass As IFeatureClass _
public void Connect (
    string LayerInfo,
    IIMSAxlRequest request,
    ISpatialReference spatialRef,
    acMapUnits MapUnits,
    IFeatureClass FeatureClass
HRESULT Connect(
  BSTR LayerInfo,
  IIMSAxlRequest* request,
  ISpatialReference* spatialRef,
  acMapUnits MapUnits,
  IFeatureClass* FeatureClass
LayerInfo [in]

LayerInfo is a parameter of type BSTR request [in]
request is a parameter of type IIMSAxlRequest* spatialRef [in]
spatialRef is a parameter of type ISpatialReference* MapUnits [in]
MapUnits is a parameter of type acMapUnits FeatureClass [in]
FeatureClass is a parameter of type IFeatureClass*

Product Availability

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

See Also

IACFeatureLayerAdmin Interface