Share via


AdoDotNetConnectionProperties.GetEnumerator Method

Retrieves an enumerator that enumerates over all of the known connection properties and their values, if any.

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

Syntax

'Declaration
Public Overrides Function GetEnumerator As IEnumerator
'Usage
Dim instance As AdoDotNetConnectionProperties 
Dim returnValue As IEnumerator 

returnValue = instance.GetEnumerator()
public override IEnumerator GetEnumerator()
public:
virtual IEnumerator^ GetEnumerator() override
public override function GetEnumerator() : IEnumerator

Return Value

Type: System.Collections.IEnumerator
Returns a data connection properties enumerator

Remarks

Each element in the enumerator is a DictionaryEntry pair, where the Key is a property name and the Value is the property value, or DBNull.Value when the property is not set and has no default.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

AdoDotNetConnectionProperties Members

Microsoft.VisualStudio.Data.AdoDotNet Namespace

GetEnumerator

DictionaryEntry