Condividi tramite


Proprietà DataType

Gets or sets the return type for scalar functions.

Spazio dei nomi:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public Property DataType As DataType
    Get
    Set
'Utilizzo
Dim instance As UserDefinedFunction
Dim value As DataType

value = instance.DataType

instance.DataType = value
[SfcPropertyAttribute]
public DataType DataType { get; set; }
[SfcPropertyAttribute]
public:
property DataType^ DataType {
    DataType^ get ();
    void set (DataType^ value);
}
[<SfcPropertyAttribute>]
member DataType : DataType with get, set
function get DataType () : DataType
function set DataType (value : DataType)

Valore proprietà

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

Osservazioni

This property is null for nonscalar functions.