SqlUserDefinedTypeAttribute.ValidationMethodName Property

Definition

The name of the method used to validate instances of the user-defined type.

C#
public string ValidationMethodName { get; set; }

Property Value

A String representing the name of the method used to validate instances of the user-defined type.

Remarks

The method specified by this attribute validates instances of the UDT when the UDT has been deserialized from a binary value that is not trusted.

Applies to

Produkt Versiounen
SqlClient .NET Core 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1
SqlClient .NET Framework 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1
SqlClient .NET Standard 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1