Instance field

Represents the singleton instance of the SAFactory class.

Visual Basic syntax

Public Shared ReadOnly Instance As SAFactory

C# syntax

public static readonly SAFactory Instance;

Remarks

SAFactory is a singleton class, which means only this instance of this class can exist.

Normally you would not use this field directly. Instead, you get a reference to this instance of SAFactory using System.Data.Common.DbProviderFactories.GetFactory(String). For an example, see the SAFactory description.

The SAFactory class is not available in the .NET Compact Framework 2.0.