次の方法で共有


IVsDataConnectionDialog.AvailableSources Property

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

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

Syntax

'宣言
ReadOnly Property AvailableSources As ICollection(Of Guid)
    Get
ICollection<Guid> AvailableSources { get; }
property ICollection<Guid>^ AvailableSources {
    ICollection<Guid>^ get ();
}
abstract AvailableSources : ICollection<Guid>
function get AvailableSources () : ICollection<Guid>

Property Value

Type: System.Collections.Generic.ICollection<Guid>
An ICollection object containing available GUIDs.

Remarks

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

.NET Framework Security

See Also

Reference

IVsDataConnectionDialog Interface

Microsoft.VisualStudio.Data.Services Namespace