SqlMethodAttribute.OnNullCall Property
Definition
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.
Indicates whether the method on a user-defined type (UDT) is called when null input arguments are specified in the method invocation.
public:
property bool OnNullCall { bool get(); void set(bool value); };
public bool OnNullCall { get; set; }
member this.OnNullCall : bool with get, set
Public Property OnNullCall As Boolean
Property Value
true if the method is called when null input arguments are specified in the method invocation; false if the method returns a null value when any of its input parameters are null. If the method cannot be invoked (because of an attribute on the method), the SQL Server DbNull is returned.
Remarks
The default value of the OnNullCall property is true.