SqlClientFactory::Instance Field

 

Gets an instance of the SqlClientFactory. This can be used to retrieve strongly typed data objects.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public:
static initonly SqlClientFactory^ Instance

The following code fragment uses the Instance property to retrieve a SqlClientFactory instance, and then return a strongly typed DbCommand instance:

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: