UserDefinedFunction.FunctionType Property

Gets or sets the user-defined function type.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property FunctionType As UserDefinedFunctionType
    Get
    Set
'Usage
Dim instance As UserDefinedFunction
Dim value As UserDefinedFunctionType

value = instance.FunctionType

instance.FunctionType = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public UserDefinedFunctionType FunctionType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property UserDefinedFunctionType FunctionType {
    UserDefinedFunctionType get ();
    void set (UserDefinedFunctionType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member FunctionType : UserDefinedFunctionType with get, set
function get FunctionType () : UserDefinedFunctionType
function set FunctionType (value : UserDefinedFunctionType)

Property Value

Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionType
A UserDefinedFunctionType object value that specifies the type of user-defined function.

Remarks

User-defined function types include values such as scalar, inline, and table.