Partager via


DataConnectionProperties.GetEnumerator Method

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

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

Syntax

'Declaration
Public Overridable Function GetEnumerator As IEnumerator
public virtual IEnumerator GetEnumerator()
public:
virtual IEnumerator^ GetEnumerator()
abstract GetEnumerator : unit -> IEnumerator  
override GetEnumerator : unit -> IEnumerator
public 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 Value when the property is not set and has no default.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data Namespace