SqlUserDefinedTypeAttribute.ValidationMethodName Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The name of the method used to validate instances of the user-defined type.
public:
property System::String ^ ValidationMethodName { System::String ^ get(); void set(System::String ^ value); };
C#
public string ValidationMethodName { get; set; }
member this.ValidationMethodName : string with get, set
Public Property ValidationMethodName As String
A String representing the name of the method used to validate instances of the user-defined type.
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.
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 |