共用方式為


LinkedServiceClient.StartRenameLinkedServiceAsync Method

Definition

Renames a linked service.

public virtual System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.LinkedServiceRenameLinkedServiceOperation> StartRenameLinkedServiceAsync (string linkedServiceName, Azure.Analytics.Synapse.Artifacts.Models.ArtifactRenameRequest request, System.Threading.CancellationToken cancellationToken = default);
abstract member StartRenameLinkedServiceAsync : string * Azure.Analytics.Synapse.Artifacts.Models.ArtifactRenameRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.LinkedServiceRenameLinkedServiceOperation>
override this.StartRenameLinkedServiceAsync : string * Azure.Analytics.Synapse.Artifacts.Models.ArtifactRenameRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Analytics.Synapse.Artifacts.LinkedServiceRenameLinkedServiceOperation>
Public Overridable Function StartRenameLinkedServiceAsync (linkedServiceName As String, request As ArtifactRenameRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LinkedServiceRenameLinkedServiceOperation)

Parameters

linkedServiceName
String

The linked service name.

request
ArtifactRenameRequest

proposed new name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

linkedServiceName or request is null.

Applies to