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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour