다음을 통해 공유


GetGuid 메서드

Gets the Guid value stored in the PipelineBuffer column.

이 API는 CLS 규격이 아닙니다. 

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline
어셈블리:  Microsoft.SqlServer.PipelineHost(Microsoft.SqlServer.PipelineHost.dll)

구문

‘선언
<CLSCompliantAttribute(False)> _
Public Function GetGuid ( _
    columnIndex As Integer _
) As Guid
‘사용 방법
Dim instance As PipelineBuffer
Dim columnIndex As Integer
Dim returnValue As Guid

returnValue = instance.GetGuid(columnIndex)
[CLSCompliantAttribute(false)]
public Guid GetGuid(
    int columnIndex
)
[CLSCompliantAttribute(false)]
public:
Guid GetGuid(
    int columnIndex
)
[<CLSCompliantAttribute(false)>]
member GetGuid : 
        columnIndex:int -> Guid 
public function GetGuid(
    columnIndex : int
) : Guid

매개 변수

반환 값

유형: System. . :: . .Guid
The Guid value stored in the PipelineBuffer column.

주의

This method works with the DT_GUID data type in Integration Services.

If the value of the column is null, the PipelineBuffer produces a ColumnIsNullException. You should first check for null by calling the IsNull method before retrieving the Guid from the buffer column.

For a complete list of Integration Services data types and the corresponding Get and Set methods of the PipelineBuffer class to use with each type, see 데이터 흐름의 데이터 형식 작업.