コード例 #1
0
 /// <summary>
 /// Create the offline activation request for the host
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Administration or
 /// Administration.Write.
 ///
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='activateLicenseParameters'>
 /// </param>
 public static ODataValueString GetLicenseOffline(this IHostLicenses operations, ActivateLicenseParameters activateLicenseParameters = default(ActivateLicenseParameters))
 {
     return(operations.GetLicenseOfflineAsync(activateLicenseParameters).GetAwaiter().GetResult());
 }
コード例 #2
0
 /// <summary>
 /// Create the offline activation request for the host
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Administration or
 /// Administration.Write.
 ///
 /// Host only. Requires authentication.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='expand'>
 /// Indicates the related entities to be represented inline. The maximum depth
 /// is 2.
 /// </param>
 /// <param name='select'>
 /// Limits the properties returned in the result.
 /// </param>
 public static ODataValueOfString GetLicenseOffline(this IHostLicenses operations, HostLicensesGetLicenseOfflineParameters body = default(HostLicensesGetLicenseOfflineParameters), string expand = default(string), string select = default(string))
 {
     return(operations.GetLicenseOfflineAsync(body, expand, select).GetAwaiter().GetResult());
 }