다음을 통해 공유


DataType 속성

Gets or sets the return type for scalar functions.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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.

예제

속성 설정