ServiceClientHelpers.GetServiceClientRetentionDurationType Method

Definition

Gets the retention duration type using which the service client calls are to be made to contact the backend service. This is determined by the retention duration type of powershell object.

public static string GetServiceClientRetentionDurationType (Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.RetentionDurationType? pSRetentionDurationType);
static member GetServiceClientRetentionDurationType : Nullable<Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.RetentionDurationType> -> string
Public Shared Function GetServiceClientRetentionDurationType (pSRetentionDurationType As Nullable(Of RetentionDurationType)) As String

Parameters

pSRetentionDurationType
Nullable<RetentionDurationType>

Powershell retention duration type enum value

Returns

Service retention duration type

Applies to