Export (0) Print
Expand All

UserDefinedFunction.DataType Property

Gets or sets the return type for scalar functions.

This API is not CLS-compliant. 

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver), 
	"Resolve", )]
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Matrix)]
[SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver), 
	"Resolve", )]
public DataType DataType { get; set; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.DataType
A DataType system object value that specifies the data type of the function's return value.

This property is null for nonscalar functions.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft