/// <summary>
 /// Constructs a new <see cref="WorkbookWorksheetProtectionProtectRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="options">A options parameter for the OData method call.</param>
 public WorkbookWorksheetProtectionProtectRequestBuilder(
     string requestUrl,
     IBaseClient client,
     WorkbookWorksheetProtectionOptions options)
     : base(requestUrl, client)
 {
     this.SetParameter("options", options, true);
 }
Example #2
0
 /// <summary>
 /// Gets the request builder for WorkbookWorksheetProtectionProtect.
 /// </summary>
 /// <returns>The <see cref="IWorkbookWorksheetProtectionProtectRequestBuilder"/>.</returns>
 public IWorkbookWorksheetProtectionProtectRequestBuilder Protect(
     WorkbookWorksheetProtectionOptions options = null)
 {
     return(new WorkbookWorksheetProtectionProtectRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.protect"),
                this.Client,
                options));
 }