Share via


WstConnection Class

[This is internal Microsoft documentation - Do not distribute.]

Represents a "virtual" connection to a Webstore Application. This class abstracts over the SqlConnection class. It represents a virtual connection to the whole set of databases that make up a Webstore application (partitions, replicas). The actual SqlConnection is established upon WstCommand.ExecuteXXX() methods by looking up the appropriate server/db from the FSS map (including honoring offline, blacklisted, stale replicas, retry, etc).

Namespace: Microsoft.Webstore.WstClient
Assembly: ICL (in icl.dll)

Syntax

'Declaration

  Public NotInheritable Class WstConnection
    Inherits Component
    Implements IDbConnection, IDisposable, ICloneable
  public sealed class WstConnection : Component, IDbConnection, IDisposable, ICloneable

Remarks

Any public static members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
      Microsoft.Webstore.WstClient.WstConnection

Thread Safety

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

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

WstConnection Members
Microsoft.Webstore.WstClient Namespace