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
public override IEnumerator GetEnumerator()
public:
virtual IEnumerator^ GetEnumerator() override
abstract GetEnumerator : unit -> IEnumerator
override GetEnumerator : unit -> IEnumerator
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
AdoDotNetConnectionProperties Class