AIProjectConnectionsOperations.GetDefaultConnection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the default connection.
public Azure.AI.Projects.AIProjectConnection GetDefaultConnection(Azure.AI.Projects.ConnectionType? connectionType = default, bool includeCredentials = false);
member this.GetDefaultConnection : Nullable<Azure.AI.Projects.ConnectionType> * bool -> Azure.AI.Projects.AIProjectConnection
Public Function GetDefaultConnection (Optional connectionType As Nullable(Of ConnectionType) = Nothing, Optional includeCredentials As Boolean = false) As AIProjectConnection
Parameters
- connectionType
- Nullable<ConnectionType>
List connections of this specific type.
- includeCredentials
- Boolean
Whether to include credentials in the response. Default is false.
Returns
A AIProjectConnection object.
Exceptions
Thrown when the request fails.