Compartilhar via


LeaseDurationTypeConverter Class

Definition

Specifies whether the lease on a container is of infinite or fixed duration, only when the container is leased.

public class LeaseDurationTypeConverter : System.Management.Automation.PSTypeConverter
type LeaseDurationTypeConverter = class
    inherit PSTypeConverter
Public Class LeaseDurationTypeConverter
Inherits PSTypeConverter
Inheritance
LeaseDurationTypeConverter

Constructors

LeaseDurationTypeConverter()

Methods

CanConvertFrom(Object, Type)

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

CanConvertTo(Object, Type)

Determines if the converter can convert the sourceValue parameter to the destinationType parameter.

ConvertFrom(Object, Type, IFormatProvider, Boolean)

Converts the sourceValue parameter to the destinationType parameter using formatProvider and ignoreCase

ConvertTo(Object, Type, IFormatProvider, Boolean)

NotImplemented -- this will return null

Applies to