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


INetSchemaEdit.PutEnabledDisabledFieldName Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetSchemaEdit Interface > INetSchemaEdit.PutEnabledDisabledFieldName Method
ArcGIS Developer Help

INetSchemaEdit.PutEnabledDisabledFieldName Method

Sets the name of the field containing the enabled/disabled information for the specified user class.

[Visual Basic .NET]
Public Sub PutEnabledDisabledFieldName ( _
    ByVal UserClassID As Integer, _
    ByVal enabledDisabledRoleFieldName As String _
)
[C#]
public void PutEnabledDisabledFieldName (
    int UserClassID,
    string enabledDisabledRoleFieldName
);
[C++]
HRESULT PutEnabledDisabledFieldName(
  long UserClassID,
  BSTR enabledDisabledRoleFieldName
);
[C++]
Parameters
UserClassID [in]

UserClassID is a parameter of type long enabledDisabledRoleFieldName [in]
enabledDisabledRoleFieldName is a parameter of type BSTR

Product Availability

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

Remarks

PutEnabledDisabledFieldName will define the field name within the specified user class to use for tracking whether a feature is enabled or disabled.  Enabled or disabled refers to the ability or inability to trace through a feature.

Only use this method on newly created stand-alone logical networks that do not have any topology.

See Also

INetSchemaEdit Interface