SqlVector<T>.CreateNull(Int32) Method  
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.
Constructs a null vector of the given length. SQL Server requires vector arguments to specify their length even when null.
public:
 static Microsoft::Data::SqlTypes::SqlVector<T> CreateNull(int length);public static Microsoft.Data.SqlTypes.SqlVector<T> CreateNull(int length);static member CreateNull : int -> Microsoft.Data.SqlTypes.SqlVector<'T (requires 'T : struct)>Public Shared Function CreateNull (length As Integer) As SqlVector(Of T)Parameters
- length
- Int32
Returns
Exceptions
Vector length must be non-negative.