Language

PolicyClient.PolicyEnrollmentsGetWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyEnrollment> PolicyEnrollmentsGetWithResult(string scope, string policyEnrollmentName, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.ISendAsync sender);
member this.PolicyEnrollmentsGetWithResult : string * string * Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.ISendAsync -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyEnrollment>
Public Function PolicyEnrollmentsGetWithResult (scope As String, policyEnrollmentName As String, eventListener As IEventListener, sender As ISendAsync) As Task(Of IPolicyEnrollment)

Parameters

scope
String
policyEnrollmentName
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to