ConnectionsOperations.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.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.