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
- value
Type: System.Object
The specified value.
- validValues
Type: array<System.String[]
The array of valid values.
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.