UsersOperationsExtensions.InviteAsync 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.
Invite a user to a lab.
public static System.Threading.Tasks.Task InviteAsync (this Microsoft.Azure.Management.LabServices.IUsersOperations operations, Microsoft.Azure.Management.LabServices.Models.InviteBody body, string resourceGroupName, string labName, string userName, System.Threading.CancellationToken cancellationToken = default);
static member InviteAsync : Microsoft.Azure.Management.LabServices.IUsersOperations * Microsoft.Azure.Management.LabServices.Models.InviteBody * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InviteAsync (operations As IUsersOperations, body As InviteBody, resourceGroupName As String, labName As String, userName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IUsersOperations
The operations group for this extension method.
- body
- InviteBody
The request body.
- resourceGroupName
- String
The name of the resource group. The name is case insensitive.
- labName
- String
The name of the lab that uniquely identifies it within containing lab account. Used in resource URIs.
- userName
- String
The name of the user that uniquely identifies it within containing lab. Used in resource URIs.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Operation to invite a user to a lab.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET