Export (0) Print
Expand All

IScalarValuedFunction Interface

Represents a SQL Server scalar-valued function.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

public interface IScalarValuedFunction : IUserDefinedFunction, 
	ICallableModule, IUserDefinedFunctionModuleBase, ISchemaOwnedObject, IDatabaseObject, IScalarFunction, 
	IFunction, IFunctionModuleBase, IScalar, IMetadataObject

The IScalarValuedFunction type exposes the following members.

  NameDescription
Public propertyBodyTextGets the Transact-SQL string that defines the module. (Inherited from IUserDefinedFunction.)
Public propertyDataTypeGets the scalar data type. (Inherited from IScalar.)
Public propertyExecutionContextGets the IExecutionContext object that specifies the module execution context. (Inherited from IUserDefinedFunctionModuleBase.)
Public propertyIsAggregateFunctionGets a value that indicates whether this is an aggregate function. (Inherited from IScalarFunction.)
Public propertyIsEncryptedGets a value that indicates whether the module is encrypted. (Inherited from IUserDefinedFunctionModuleBase.)
Public propertyIsQuotedIdentifierOnGets a Boolean value that indicates whether the unique identifier option is on. (Inherited from IUserDefinedFunction.)
Public propertyIsSchemaBoundGets a value that indicates whether the user-defined function is bound to a schema. (Inherited from IUserDefinedFunction.)
Public propertyIsSqlClrGets a value that indicates whether this is a CLR module. (Inherited from IUserDefinedFunction.)
Public propertyIsSystemObjectGets a value that indicates whether this is a system object. (Inherited from IDatabaseObject.)
Public propertyModuleTypeGets the module type. (Inherited from ICallableModule.)
Public propertyNameGets the name of the metadata object. (Inherited from IMetadataObject.)
Public propertyNullableGets a Boolean value that indicates whether the scalar object is nullable. (Inherited from IScalar.)
Public propertyParametersGets a collection that contains the parameters that the function or module accepts. (Inherited from IFunctionModuleBase.)
Public propertyParentGets the IDatabaseObject object that is the parent of this object. (Inherited from IDatabaseObject.)
Public propertyReturnsNullOnNullInputGets a value that indicates whether to call the function if at least one of the function arguments is null.
Public propertyReturnTypeGets the scalar data type of the module return value. (Inherited from ICallableModule.)
Public propertyScalarTypeGets the scalar type. (Inherited from IScalar.)
Public propertySchemaGets the ISchema object that owns this object. (Inherited from ISchemaOwnedObject.)
Top

  NameDescription
Public methodAccept<T>(IDatabaseObjectVisitor<T>)Accepts a visit from the specified IDatabaseObjectVisitor<T> object. (Inherited from IDatabaseObject.)
Public methodAccept<T>(IMetadataObjectVisitor<T>)Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Public methodAccept<T>(ISchemaOwnedObjectVisitor<T>)Accepts a visit from the specified ISchemaOwnedObjectVisitor<T> object. (Inherited from ISchemaOwnedObject.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft