共用方式為


BdcDataSource.Mode Property

Gets or sets a value that represents the mode of the data source control.

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

Syntax

'Declaration
Public Property Mode As BdcDataSourceMode
    Get
    Set
'Usage
Dim instance As BdcDataSource
Dim value As BdcDataSourceMode

value = instance.Mode

instance.Mode = value
public BdcDataSourceMode Mode { get; set; }

Property Value

Type: Microsoft.SharePoint.WebControls.BdcDataSourceMode
A BdcDataSourceMode object.

Remarks

The mode specifies whether the control returns a single entry, a list of entries, or a list of associated entries.

Note   An AssociationList is a list of entries that use specific criteria to filter the data, for example employee ID or customer name.

See Also

Reference

BdcDataSource Class

BdcDataSource Members

Microsoft.SharePoint.WebControls Namespace