Aracılığıyla paylaş


DatabaseTypeConverter Class

Definition

A PowerShell PSTypeConverter to support converting to an instance of Database

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

Constructors

DatabaseTypeConverter()

Methods

CanConvertFrom(Object)

Determines if the converter can convert the sourceValue parameter to the Database type.

CanConvertFrom(Object, Type)

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

CanConvertTo(Object, Type)

Determines if the sourceValue parameter can be converted to the destinationType parameter

ConvertFrom(Object)

Converts the sourceValue parameter into an instance of Database

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