Partilhar via


Propriedade do RDL DataType

Gets or sets the data type associated with the parameter.

Essa API não é compatível com CLS. 

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

Sintaxe

'Declaração
<SfcReferenceAttribute(GetType(UserDefinedDataType), GetType(UserDefinedDataTypeResolver),  _
    "Resolve", )> _
<SfcReferenceAttribute(GetType(UserDefinedType), GetType(UserDefinedTypeResolver),  _
    "Resolve", )> _
<SfcReferenceAttribute(GetType(UserDefinedTableType), GetType(UserDefinedTableTypeResolver),  _
    "Resolve", )> _
<CLSCompliantAttribute(False)> _
<SfcPropertyAttribute(SfcPropertyFlags.Design)> _
Public Property DataType As DataType
    Get
    Set
'Uso
Dim instance As ParameterBase
Dim value As DataType

value = instance.DataType

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

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DataType
A DataType object value that specifies the data type associated with the parameter.

Comentários

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.