共用方式為


DataType 屬性

Gets or sets the return type for scalar functions.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public Property DataType As DataType
    Get
    Set
'用途
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)

屬性值

型別: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.

範例

設定屬性