Propriété UserDefinedAggregate.DataType

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

Cette API n'est pas conforme CLS. 

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<CLSCompliantAttribute(False)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<SfcReferenceAttribute(GetType(UserDefinedDataType), GetType(UserDefinedDataTypeResolver),  _
    "Resolve", )> _
<SfcReferenceAttribute(GetType(UserDefinedType), GetType(UserDefinedTypeResolver),  _
    "Resolve", )> _
Public Property DataType As DataType 
    Get 
    Set
'Utilisation
Dim instance As UserDefinedAggregate 
Dim value As DataType 

value = instance.DataType

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

Valeur de propriété

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

Exemples

Définition de propriétés

Voir aussi

Référence

UserDefinedAggregate Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Opérateur Showplan Aggregate

CREATE AGGREGATE (Transact-SQL)