Export (0) Print
Expand All

ObjectDataSourceDesigner.CanConfigure Property

Note: This property is new in the .NET Framework version 2.0.

Gets a value that indicates whether the Configure method can be called.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)

public override bool CanConfigure { get; }
/** @property */
public boolean get_CanConfigure ()

public override function get CanConfigure () : boolean

Property Value

true if the Configure method can be called; false otherwise.

The Configure method can be called, and the CanConfigure property is true, if the Site property of the associated ObjectDataSource control implements either the ITypeResolutionService or the ITypeDiscoveryService interface.

If the CanConfigure is true, the Configure Data Source menu item is displayed in the Common ObjectDataSource Tasks context menu of the associated control on the visual designer surface. The Configure Data Source wizard is invoked when this menu item is selected.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show:
© 2015 Microsoft