ServiceClientHelpers.GetServiceClientRetentionDurationType Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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