IUserDefinedTypeFactory.CreateDataType 메서드
Creates an IMutableUserDefinedDataType object that belongs to the specified ISchema object and has the specified name.
네임스페이스: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리: Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)
구문
‘선언
Function CreateDataType ( _
schema As ISchema, _
name As String _
) As IMutableUserDefinedDataType
‘사용 방법
Dim instance As IUserDefinedTypeFactory
Dim schema As ISchema
Dim name As String
Dim returnValue As IMutableUserDefinedDataType
returnValue = instance.CreateDataType(schema, _
name)
IMutableUserDefinedDataType CreateDataType(
ISchema schema,
string name
)
IMutableUserDefinedDataType^ CreateDataType(
ISchema^ schema,
String^ name
)
abstract CreateDataType :
schema:ISchema *
name:string -> IMutableUserDefinedDataType
function CreateDataType(
schema : ISchema,
name : String
) : IMutableUserDefinedDataType
매개 변수
- schema
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.ISchema
The ISchema object that is the parent of the type.
- name
유형: System.String
The name of the type to create.
반환 값
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableUserDefinedDataType
An IMutableUserDefinedClrType object.
참고 항목
참조
Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스