Поделиться через


Интерфейс IScalarValuedFunction

Represents a SQL Server scalar-valued function.

Пространство имен:  Microsoft.SqlServer.Management.SqlParser.Metadata
Сборка:  Microsoft.SqlServer.Management.SqlParser (в Microsoft.SqlServer.Management.SqlParser.dll)

Синтаксис

'Декларация
Public Interface IScalarValuedFunction _
    Inherits IUserDefinedFunction, ICallableModule, IUserDefinedFunctionModuleBase, ISchemaOwnedObject,  _
    IDatabaseObject, IScalarFunction, IFunction, IFunctionModuleBase, IScalar,  _
    IMetadataObject
'Применение
Dim instance As IScalarValuedFunction
public interface IScalarValuedFunction : IUserDefinedFunction, 
    ICallableModule, IUserDefinedFunctionModuleBase, ISchemaOwnedObject, IDatabaseObject, IScalarFunction, 
    IFunction, IFunctionModuleBase, IScalar, IMetadataObject
public interface class IScalarValuedFunction : IUserDefinedFunction, 
    ICallableModule, IUserDefinedFunctionModuleBase, ISchemaOwnedObject, IDatabaseObject, IScalarFunction, 
    IFunction, IFunctionModuleBase, IScalar, IMetadataObject
type IScalarValuedFunction =  
    interface
        interface IUserDefinedFunction
        interface ICallableModule
        interface IUserDefinedFunctionModuleBase
        interface ISchemaOwnedObject
        interface IDatabaseObject
        interface IScalarFunction
        interface IFunction
        interface IFunctionModuleBase
        interface IScalar
        interface IMetadataObject
    end
public interface IScalarValuedFunction extends IUserDefinedFunction, ICallableModule, IUserDefinedFunctionModuleBase, ISchemaOwnedObject, IDatabaseObject, IScalarFunction, IFunction, IFunctionModuleBase, IScalar, IMetadataObject

Тип IScalarValuedFunction обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство BodyText Gets the Transact-SQL string that defines the module. (Производный от IUserDefinedFunction.)
Открытое свойство DataType Gets the scalar data type. (Производный от IScalar.)
Открытое свойство ExecutionContext Gets the IExecutionContext object that specifies the module execution context. (Производный от IUserDefinedFunctionModuleBase.)
Открытое свойство IsAggregateFunction Gets a value that indicates whether this is an aggregate function. (Производный от IScalarFunction.)
Открытое свойство IsEncrypted Gets a value that indicates whether the module is encrypted. (Производный от IUserDefinedFunctionModuleBase.)
Открытое свойство IsQuotedIdentifierOn Gets a Boolean value that indicates whether the unique identifier option is on. (Производный от IUserDefinedFunction.)
Открытое свойство IsSchemaBound Gets a value that indicates whether the user-defined function is bound to a schema. (Производный от IUserDefinedFunction.)
Открытое свойство IsSqlClr Gets a value that indicates whether this is a CLR module. (Производный от IUserDefinedFunction.)
Открытое свойство IsSystemObject Gets a value that indicates whether this is a system object. (Производный от IDatabaseObject.)
Открытое свойство ModuleType Gets the module type. (Производный от ICallableModule.)
Открытое свойство Name Gets the name of the metadata object. (Производный от IMetadataObject.)
Открытое свойство Nullable Gets a Boolean value that indicates whether the scalar object is nullable. (Производный от IScalar.)
Открытое свойство Parameters Gets a collection that contains the parameters that the function or module accepts. (Производный от IFunctionModuleBase.)
Открытое свойство Parent Gets the IDatabaseObject object that is the parent of this object. (Производный от IDatabaseObject.)
Открытое свойство ReturnsNullOnNullInput Gets a value that indicates whether to call the function if at least one of the function arguments is null.
Открытое свойство ReturnType Gets the scalar data type of the module return value. (Производный от ICallableModule.)
Открытое свойство ScalarType Gets the scalar type. (Производный от IScalar.)
Открытое свойство Schema Gets the ISchema object that owns this object. (Производный от ISchemaOwnedObject.)

В начало

Методы

  Имя Описание
Открытый метод Accept< (Of < <' (T> ) > > )(IDatabaseObjectVisitor< (Of < <' (T> ) > > )) Accepts a visit from the specified IDatabaseObjectVisitor<(Of <(<'T>)>)> object. (Производный от IDatabaseObject.)
Открытый метод Accept< (Of < <' (T> ) > > )(IMetadataObjectVisitor< (Of < <' (T> ) > > )) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Производный от IMetadataObject.)
Открытый метод Accept< (Of < <' (T> ) > > )(ISchemaOwnedObjectVisitor< (Of < <' (T> ) > > )) Accepts a visit from the specified ISchemaOwnedObjectVisitor<(Of <(<'T>)>)> object. (Производный от ISchemaOwnedObject.)

В начало