PipelineBuffer.GetUInt16 Yöntemi
Alır ushort arabellekte saklanan değeri sütun.
Bu API, CLS ile uyumlu değildir.
Ad Alanı: Microsoft.SqlServer.Dts.Pipeline
Derleme: Microsoft.SqlServer.PipelineHost (Microsoft.SqlServer.PipelineHost içinde.dll)
Sözdizimi
'Bildirim
<CLSCompliantAttribute(False)> _
Public Function GetUInt16 ( _
columnIndex As Integer _
) As UShort
'Kullanım
Dim instance As PipelineBuffer
Dim columnIndex As Integer
Dim returnValue As UShort
returnValue = instance.GetUInt16(columnIndex)
[CLSCompliantAttribute(false)]
public ushort GetUInt16(
int columnIndex
)
[CLSCompliantAttribute(false)]
public:
unsigned short GetUInt16(
int columnIndex
)
[<CLSCompliantAttribute(false)>]
member GetUInt16 :
columnIndex:int -> uint16
public function GetUInt16(
columnIndex : int
) : ushort
Parametreler
- columnIndex
Tür: System.Int32
Dizini sütun arabellek satırda.
Dönüş Değeri
Tür: System.UInt16
Ushort arabellekte saklanan sütun.
Açıklamalar
Bu yöntem ile çalışır DT_UI2 veri türü Integration Services.
Arabellek sütun DataType değil DT_UI2, PipelineBuffer üreten bir UnsupportedBufferDataTypeException.
Varsa değeri sütun NULL, PipelineBuffer üreten bir ColumnIsNullException.Null için arama yoluyla kontrol edebilirsiniz IsNull yöntem.
Eksiksiz bir listesini görmek için Integration Services veri türleri ve karşılık gelen Al ve Set yöntemleri PipelineBuffer sınıfına her türü ile kullanmak için bkz: Veri akışı veri türleriyle çalışma.