Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

BdcAccessor.Validator Delegate

SharePoint 2010

Used to configure a BdcAccessor object in order to filter which external content types are shown in an EntityPicker object. For more information, contact us.

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

public delegate bool Validator(
	IMetadataObject metadataObject

Return Value

Type: System.Boolean

If a function with this signature returns true for a given external content type, that external content type will be shown in the EntityPicker. If the function returns False, the corresponding external content type will not be shown in the EntityPicker. Multiple Validator functions can be used with a single BdcAccessor, in which case all Validator functions must return true for a given external content type in order for that external content type to be shown in the EntityPicker.

© 2015 Microsoft