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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java