コード例 #1
0
 /// <summary>
 /// Constructs a new <see cref="DeviceCompliancePolicyValidateComplianceScriptRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="deviceCompliancePolicyScript">A deviceCompliancePolicyScript parameter for the OData method call.</param>
 public DeviceCompliancePolicyValidateComplianceScriptRequestBuilder(
     string requestUrl,
     IBaseClient client,
     DeviceCompliancePolicyScript deviceCompliancePolicyScript)
     : base(requestUrl, client)
 {
     this.SetParameter("deviceCompliancePolicyScript", deviceCompliancePolicyScript, true);
 }
コード例 #2
0
 /// <summary>
 /// Gets the request builder for DeviceCompliancePolicyValidateComplianceScript.
 /// </summary>
 /// <returns>The <see cref="IDeviceCompliancePolicyValidateComplianceScriptRequestBuilder"/>.</returns>
 public IDeviceCompliancePolicyValidateComplianceScriptRequestBuilder ValidateComplianceScript(
     DeviceCompliancePolicyScript deviceCompliancePolicyScript = null)
 {
     return(new DeviceCompliancePolicyValidateComplianceScriptRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.validateComplianceScript"),
                this.Client,
                deviceCompliancePolicyScript));
 }