Share via


DataConnectionDialogFilterCallback Delegate

Represents the method that is called when a Data Connection dialog box callback occurs while adding DDEX providers and data sources.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Public Delegate Function DataConnectionDialogFilterCallback ( _
    source As Guid, _
    provider As Guid _
) As Boolean
public delegate bool DataConnectionDialogFilterCallback(
    Guid source,
    Guid provider
)
public delegate bool DataConnectionDialogFilterCallback(
    Guid source, 
    Guid provider
)
type DataConnectionDialogFilterCallback = 
    delegate of  
        source:Guid * 
        provider:Guid -> bool
JScript does not support delegates.

Parameters

Return Value

Type: System.Boolean
Returns true if the data source and data provider GUIDs are an acceptable combination for including in the dialog; otherwise returns false.

Remarks

Additional information is provided in documentation for the AddSources method.

See Also

Reference

Microsoft.VisualStudio.Data Namespace