EntityConnectionStringBuilder.Clear Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Clears the contents of the EntityConnectionStringBuilder instance.

Namespace:   System.Data.EntityClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public override void Clear()

The Clear method removes all keyword/value pairs from the EntityConnectionStringBuilder and resets all corresponding properties to null (Nothing in Visual Basic).

.NET Framework
Available since 3.5
Return to top