SetVariantMetaData Method (SmiEventSink, Int32, SmiMetaData) (SmiRecordBuffer Class)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Sets the data, for a parameter or column, as the specified type. No conversions are applied. The assembly that contains this class has a friend relationship with SQLAccess.dll.  It is intended for use by SQL Server.  For other databases, use the hosting mechanism provided by that database.

Namespace: Microsoft.SqlServer.Server

Assembly: System.Data (in System.Data.dll)

Sub SetVariantMetaData(ByVal sink As SmiEventSink, ByVal ordinal As Integer, ByVal metaData As SmiMetaData)
void SetVariantMetaData (SmiEventSink sink, int ordinal, SmiMetaData metaData);

Parameters

Parameter

Description

sink

The SmiEventSink object to be used for event callbacks from the server.

ordinal

The zero-based column ordinal.

metaData

The SmiMetadata that describes the actual type for the specified column when the meta data is of type variant.

Version Information

.NET Framework

Supported in: 2.0