다음을 통해 공유


IColumnFactory.CreateAnonymousColumn 메서드

Creates an IColumn object that represents an anonymous column of the specified scalar.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

구문

‘선언
Function CreateAnonymousColumn ( _
    dataType As IScalarDataType, _
    nullable As Boolean _
) As IColumn
‘사용 방법
Dim instance As IColumnFactory 
Dim dataType As IScalarDataType 
Dim nullable As Boolean 
Dim returnValue As IColumn 

returnValue = instance.CreateAnonymousColumn(dataType, _
    nullable)
IColumn CreateAnonymousColumn(
    IScalarDataType dataType,
    bool nullable
)
IColumn^ CreateAnonymousColumn(
    IScalarDataType^ dataType, 
    bool nullable
)
abstract CreateAnonymousColumn : 
        dataType:IScalarDataType * 
        nullable:bool -> IColumn
function CreateAnonymousColumn(
    dataType : IScalarDataType, 
    nullable : boolean
) : IColumn

매개 변수

  • nullable
    유형: System.Boolean
    Specifies whether the column is nullable.

반환 값

유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IColumn
An IColumn object that represents an anonymous column of the specified scalar.

참고 항목

참조

IColumnFactory 인터페이스

Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스