Share via


AdoDotNetConnectionProperties.IEnumerable.GetEnumerator Method

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

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

Syntax

'Declaration
Private Function GetEnumerator As IEnumerator 
    Implements IEnumerable.GetEnumerator
'Usage
Dim instance As AdoDotNetConnectionProperties 
Dim returnValue As IEnumerator 

returnValue = CType(instance, IEnumerable).GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
JScript does not support explicit interface implementations.

Return Value

Type: System.Collections.IEnumerator
A data connection properties enumerator.

Implements

IEnumerable.GetEnumerator()

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.Framework.AdoDotNet Namespace