Compartir a través de


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
IEnumerator IEnumerable.GetEnumerator()
private:
virtual IEnumerator^ GetEnumerator() sealed = IEnumerable::GetEnumerator
private abstract GetEnumerator : unit -> IEnumerator  
private override GetEnumerator : unit -> IEnumerator
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

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace