IScalarValuedFunction Interface
SQL Server 2012
Represents a SQL Server scalar-valued function.
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
The IScalarValuedFunction type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BodyText | Gets the Transact-SQL string that defines the module. (Inherited from IUserDefinedFunction.) |
![]() | DataType | Gets the scalar data type. (Inherited from IScalar.) |
![]() | ExecutionContext | Gets the IExecutionContext object that specifies the module execution context. (Inherited from IUserDefinedFunctionModuleBase.) |
![]() | IsAggregateFunction | Gets a value that indicates whether this is an aggregate function. (Inherited from IScalarFunction.) |
![]() | IsEncrypted | Gets a value that indicates whether the module is encrypted. (Inherited from IUserDefinedFunctionModuleBase.) |
![]() | IsQuotedIdentifierOn | Gets a Boolean value that indicates whether the unique identifier option is on. (Inherited from IUserDefinedFunction.) |
![]() | IsSchemaBound | Gets a value that indicates whether the user-defined function is bound to a schema. (Inherited from IUserDefinedFunction.) |
![]() | IsSqlClr | Gets a value that indicates whether this is a CLR module. (Inherited from IUserDefinedFunction.) |
![]() | IsSystemObject | Gets a value that indicates whether this is a system object. (Inherited from IDatabaseObject.) |
![]() | ModuleType | Gets the module type. (Inherited from ICallableModule.) |
![]() | Name | Gets the name of the metadata object. (Inherited from IMetadataObject.) |
![]() | Nullable | Gets a Boolean value that indicates whether the scalar object is nullable. (Inherited from IScalar.) |
![]() | Parameters | Gets a collection that contains the parameters that the function or module accepts. (Inherited from IFunctionModuleBase.) |
![]() | Parent | Gets the IDatabaseObject object that is the parent of this object. (Inherited from 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. (Inherited from ICallableModule.) |
![]() | ScalarType | Gets the scalar type. (Inherited from IScalar.) |
![]() | Schema | Gets the ISchema object that owns this object. (Inherited from ISchemaOwnedObject.) |
| Name | Description | |
|---|---|---|
![]() | Accept<T>(IDatabaseObjectVisitor<T>) | Accepts a visit from the specified IDatabaseObjectVisitor<T> object. (Inherited from IDatabaseObject.) |
![]() | Accept<T>(IMetadataObjectVisitor<T>) | Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.) |
![]() | Accept<T>(ISchemaOwnedObjectVisitor<T>) | Accepts a visit from the specified ISchemaOwnedObjectVisitor<T> object. (Inherited from ISchemaOwnedObject.) |

