ConnectionContextElement Class

Represents the ExecutionContext or PrivilegedContext configuration element in the DatabaseUnitTesting section of the app.config file.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Configuration
Assembly: Microsoft.VisualStudio.TeamSystem.Data.UnitTesting (in microsoft.visualstudio.teamsystem.data.unittesting.dll)

Syntax

'Declaration
Public NotInheritable Class ConnectionContextElement
    Inherits ConfigurationElement
'Usage
Dim instance As ConnectionContextElement
public sealed class ConnectionContextElement : ConfigurationElement
public ref class ConnectionContextElement sealed : public ConfigurationElement
public final class ConnectionContextElement extends ConfigurationElement
public final class ConnectionContextElement extends ConfigurationElement

Remarks

Which connection context you are setting, depends on whether you are accessing an PrivilegedContext object or an ExecutionContext object.

Inheritance Hierarchy

System.Object
   System.Configuration.ConfigurationElement
    Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Configuration.ConnectionContextElement

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ConnectionContextElement Members
Microsoft.VisualStudio.TeamSystem.Data.UnitTesting.Configuration Namespace