你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ComputeNodeUser.Commit 方法

定义

阻止调用以在计算节点上创建或更新用户帐户。

public void Commit (Microsoft.Azure.Batch.ComputeNodeUserCommitSemantics addOrUpdate = Microsoft.Azure.Batch.ComputeNodeUserCommitSemantics.AddUser, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.Commit : Microsoft.Azure.Batch.ComputeNodeUserCommitSemantics * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub Commit (Optional addOrUpdate As ComputeNodeUserCommitSemantics = Microsoft.Azure.Batch.ComputeNodeUserCommitSemantics.AddUser, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

参数

addOrUpdate
ComputeNodeUserCommitSemantics

选择要执行的提交操作的类型。

additionalBehaviors
IEnumerable<BatchClientBehavior>

BatchClientBehavior 实例的集合,这些实例在当前对象的 CustomBehaviors 之后应用。

适用于