IStoreConnectionFactory Interface
public interface IStoreConnectionFactory
Factory for store connections.
Method Summary
Modifier and Type | Method and Description |
---|---|
IStore |
getConnection(StoreConnectionKind kind, String connectionString)
Constructs a new instance of store connection. |
IUser |
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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java