SqlMethodAttribute::InvokeIfReceiverIsNull Property
Indicates whether SQL Server should invoke the method on null instances.
Assembly: System.Data (in System.Data.dll)
Property Value
Type: System::Booleantrue if SQL Server should invoke the method on null instances; otherwise false. If the method cannot be invoked (because of an attribute on the method), the SQL Server DbNull is returned.
The default value for the InvokeIfReceiverIsNull property is false.
That is, the method is not invoked on a null instance. If InvokeIfReceiverIsNull is true, the return value of the method depends upon its type. If the return type of the method is nullable, the distinguished null value for the type is returned. If the return type is non-nullable, the default CLR value for the type is returned. The default value for reference types is null. The default value for a value type is the value that is returned when you call the default constructor for the type.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.