IColumnFactory.CreateSimpleColumn 메서드
Creates an IColumn object that has the specified column name and data type.
네임스페이스: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리: Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)
구문
‘선언
Function CreateSimpleColumn ( _
parent As ITabular, _
name As String, _
dataType As IScalarDataType, _
nullable As Boolean _
) As IColumn
‘사용 방법
Dim instance As IColumnFactory
Dim parent As ITabular
Dim name As String
Dim dataType As IScalarDataType
Dim nullable As Boolean
Dim returnValue As IColumn
returnValue = instance.CreateSimpleColumn(parent, _
name, dataType, nullable)
IColumn CreateSimpleColumn(
ITabular parent,
string name,
IScalarDataType dataType,
bool nullable
)
IColumn^ CreateSimpleColumn(
ITabular^ parent,
String^ name,
IScalarDataType^ dataType,
bool nullable
)
abstract CreateSimpleColumn :
parent:ITabular *
name:string *
dataType:IScalarDataType *
nullable:bool -> IColumn
function CreateSimpleColumn(
parent : ITabular,
name : String,
dataType : IScalarDataType,
nullable : boolean
) : IColumn
매개 변수
- parent
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.ITabular
The object that is the parent of the column.
- name
유형: System.String
The name of the column.
- dataType
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IScalarDataType
The data type of the column.
- nullable
유형: System.Boolean
Indicates whether the scalar is nullable.
반환 값
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IColumn
An IColumn object that has the specified name and data type.
참고 항목
참조
Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스