IUserDefinedFunctionFactory.CreateScalarValuedFunction 메서드
Creates an IScalarValuedFunction 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 CreateScalarValuedFunction ( _
schema As ISchema, _
name As String _
) As IMutableScalarValuedFunction
‘사용 방법
Dim instance As IUserDefinedFunctionFactory
Dim schema As ISchema
Dim name As String
Dim returnValue As IMutableScalarValuedFunction
returnValue = instance.CreateScalarValuedFunction(schema, _
name)
IMutableScalarValuedFunction CreateScalarValuedFunction(
ISchema schema,
string name
)
IMutableScalarValuedFunction^ CreateScalarValuedFunction(
ISchema^ schema,
String^ name
)
abstract CreateScalarValuedFunction :
schema:ISchema *
name:string -> IMutableScalarValuedFunction
function CreateScalarValuedFunction(
schema : ISchema,
name : String
) : IMutableScalarValuedFunction
매개 변수
- schema
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.ISchema
The ISchema object that is the parent of the function.
- name
유형: System.String
The name of the function to create.
반환 값
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableScalarValuedFunction
An IMutableScalarValuedFunction object.
참고 항목
참조
IUserDefinedFunctionFactory 인터페이스
Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스