共用方式為


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。)

上層