Share via


DatabaseTaskHost.ValidateValueIsInSet Method

Returns a value that indicates whether the specified value is a valid value for the data type.

Namespace:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Protected Shared Function ValidateValueIsInSet ( _
    value As Object, _
    ParamArray validValues As String() _
) As Boolean
protected static bool ValidateValueIsInSet(
    Object value,
    params string[] validValues
)
protected:
static bool ValidateValueIsInSet(
    Object^ value, 
    ... array<String^>^ validValues
)
static member ValidateValueIsInSet : 
        value:Object * 
        validValues:string[] -> bool 
protected static function ValidateValueIsInSet(
    value : Object, 
    ... validValues : String[]
) : boolean

Parameters

  • validValues
    Type: array<System.String[]
    The array of valid values.

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

DatabaseTaskHost Class

Microsoft.Data.Schema.Build Namespace