Aracılığıyla paylaş


UserDefinedAggregate.DataType Property

Gets or sets the data type returned by the user-defined aggregate.

This API is not CLS-compliant. 

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

Syntax

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(UserDefinedDataType), GetType(UserDefinedDataTypeResolver),  _
    "Resolve", )> _
<SfcReferenceAttribute(GetType(UserDefinedType), GetType(UserDefinedTypeResolver),  _
    "Resolve", )> _
Public Property DataType As DataType
    Get
    Set
'Kullanım
Dim instance As UserDefinedAggregate
Dim value As DataType

value = instance.DataType

instance.DataType = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver), 
    "Resolve", )]
[SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver), 
    "Resolve", )]
public DataType DataType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver), 
    L"Resolve", )]
[SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver), 
    L"Resolve", )]
public:
property DataType^ DataType {
    DataType^ get ();
    void set (DataType^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver), 
    "Resolve", )>]
[<SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver), 
    "Resolve", )>]
member DataType : DataType with get, set
function get DataType () : DataType
function set DataType (value : DataType)

Property Value

Type: Microsoft.SqlServer.Management.Smo.DataType
A DataType object value that specifies the data type returned by the user-defined aggregate.

Examples

Setting Properties

See Also

Reference

UserDefinedAggregate Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Aggregate Showplan Operator

CREATE AGGREGATE (Transact-SQL)