Share via


DataConnectionDialog.AvailableSources Property

A collection of GUIDs representing DDEX data sources that should be available for display in the Data Connection dialog box.

This API is not CLS-compliant. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Overridable ReadOnly Property AvailableSources As ICollection(Of Guid)
[CLSCompliantAttribute(false)]
public virtual ICollection<Guid> AvailableSources { get; }
[CLSCompliantAttribute(false)]
public:
virtual property ICollection<Guid>^ AvailableSources {
    ICollection<Guid>^ get ();
}
[<CLSCompliantAttribute(false)>]
abstract AvailableSources : ICollection<Guid> with get
[<CLSCompliantAttribute(false)>]
override AvailableSources : ICollection<Guid> with get
function get AvailableSources () : ICollection<Guid>

Property Value

Type: System.Collections.Generic.ICollection<Guid>
Returns an ICollection object instance containing available GUIDs.

Remarks

This collection is read/write, which allows you to add to the collection using code like dataConnectionDialog.AvailableSources.Add(mySource).

.NET Framework Security

See Also

Reference

DataConnectionDialog Class

Microsoft.VisualStudio.Data Namespace