InvitationsOperationsExtensions.CreateAsync 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.
Sends a new invitation to a recipient to access a share.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.Invitation> CreateAsync (this Microsoft.Azure.Management.DataShare.IInvitationsOperations operations, string resourceGroupName, string accountName, string shareName, string invitationName, Microsoft.Azure.Management.DataShare.Models.Invitation invitation, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.DataShare.IInvitationsOperations * string * string * string * string * Microsoft.Azure.Management.DataShare.Models.Invitation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.Invitation>
<Extension()>
Public Function CreateAsync (operations As IInvitationsOperations, resourceGroupName As String, accountName As String, shareName As String, invitationName As String, invitation As Invitation, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Invitation)
Parameters
- operations
- IInvitationsOperations
The operations group for this extension method.
- resourceGroupName
- String
The resource group name.
- accountName
- String
The name of the share account.
- shareName
- String
The name of the share to send the invitation for.
- invitationName
- String
The name of the invitation.
- invitation
- Invitation
Invitation details.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Create an invitation
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk