Partager via


NodeStateTypeConverter Class

Definition

State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.

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

Constructors

NodeStateTypeConverter()

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