Share via


SynapseSensitivityLabelCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}
  • Operation Id: SqlPoolSensitivityLabels_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.Synapse.SynapseSensitivityLabelResource> GetIfExists (Azure.ResourceManager.Synapse.Models.SynapseSensitivityLabelSource sensitivityLabelSource, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : Azure.ResourceManager.Synapse.Models.SynapseSensitivityLabelSource * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Synapse.SynapseSensitivityLabelResource>
override this.GetIfExists : Azure.ResourceManager.Synapse.Models.SynapseSensitivityLabelSource * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Synapse.SynapseSensitivityLabelResource>
Public Overridable Function GetIfExists (sensitivityLabelSource As SynapseSensitivityLabelSource, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of SynapseSensitivityLabelResource)

Parameters

sensitivityLabelSource
SynapseSensitivityLabelSource

The source of the sensitivity label.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to