你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IStoreConnectionFactory Interface

public interface IStoreConnectionFactory

Factory for store connections.

Method Summary

Modifier and Type Method and Description
IStoreConnection getConnection(StoreConnectionKind kind, String connectionString)

Constructs a new instance of store connection.

IUserStoreConnection getUserConnection(String connectionString)

Constructs a new instance of user connection.

Method Details

getConnection

public IStoreConnection getConnection(StoreConnectionKind kind, String connectionString)

Constructs a new instance of store connection.

Parameters:

kind - Type of store connection.
connectionString - Connection string for store.

Returns:

An unopened instance of the store connection.

getUserConnection

public IUserStoreConnection getUserConnection(String connectionString)

Constructs a new instance of user connection.

Parameters:

connectionString - Connection string of user.

Returns:

An unopened instance of the user connection.

Applies to