Share via


ConnectionsOperations.GetDefaultConnection Method

Definition

Get the default connection.

public Azure.AI.Projects.ConnectionProperties GetDefaultConnection(Azure.AI.Projects.ConnectionType? connectionType = default, bool includeCredentials = false);
member this.GetDefaultConnection : Nullable<Azure.AI.Projects.ConnectionType> * bool -> Azure.AI.Projects.ConnectionProperties
Public Function GetDefaultConnection (Optional connectionType As Nullable(Of ConnectionType) = Nothing, Optional includeCredentials As Boolean = false) As ConnectionProperties

Parameters

connectionType
Nullable<ConnectionType>

List connections of this specific type.

includeCredentials
Boolean

Whether to include credentials in the response. Default is false.

Returns

A ConnectionProperties object.

Exceptions

Thrown when the request fails.

Applies to