SqlUserDefinedTypeAttribute.ValidationMethodName 属性
定义
方法的名称,该方法用于验证用户定义类型的实例。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); };
public string ValidationMethodName { get; set; }
member this.ValidationMethodName : string with get, set
Public Property ValidationMethodName As String
属性值
一个 String,表示用于验证用户定义类型的实例的方法名称。A String representing the name of the method used to validate instances of the user-defined type.
注解
此特性指定的方法将验证 udt 的实例是否从不可信的二进制值反序列化。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.