次の方法で共有


IConnections.GetConnection(String) Method

Definition

Gets a connection by name.

public Microsoft.Agents.Authentication.IAccessTokenProvider GetConnection(string name);
abstract member GetConnection : string -> Microsoft.Agents.Authentication.IAccessTokenProvider
Public Function GetConnection (name As String) As IAccessTokenProvider

Parameters

name
String

Returns

IAccessTokenProvider

Exceptions

Named connection not found.

Connection name null or empty.

Applies to