共用方式為


BdcDataSource.Enabled Property

Gets or sets a value that specifies whether the control accepts a query.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property Enabled As Boolean
    Get
    Set
'Usage
Dim instance As BdcDataSource
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
public bool Enabled { get; set; }

Property Value

Type: System.Boolean
A Boolean object.

See Also

Reference

BdcDataSource Class

BdcDataSource Members

Microsoft.SharePoint.WebControls Namespace