ParameterBase.DataType Propiedad
Gets or sets the data type associated with the parameter.
Esta API no es compatible con CLS.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcReferenceAttribute(GetType(UserDefinedType), GetType(UserDefinedTypeResolver), _
"Resolve", )> _
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(UserDefinedDataType), GetType(UserDefinedDataTypeResolver), _
"Resolve", )> _
<SfcReferenceAttribute(GetType(UserDefinedTableType), GetType(UserDefinedTableTypeResolver), _
"Resolve", )> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Design)> _
Public Overridable Property DataType As DataType
Get
Set
'Uso
Dim instance As ParameterBase
Dim value As DataType
value = instance.DataType
instance.DataType = value
[SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver),
"Resolve", )]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver),
"Resolve", )]
[SfcReferenceAttribute(typeof(UserDefinedTableType), typeof(UserDefinedTableTypeResolver),
"Resolve", )]
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Design)]
public virtual DataType DataType { get; set; }
[SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver),
L"Resolve", )]
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver),
L"Resolve", )]
[SfcReferenceAttribute(typeof(UserDefinedTableType), typeof(UserDefinedTableTypeResolver),
L"Resolve", )]
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::Design)]
public:
virtual property DataType^ DataType {
DataType^ get ();
void set (DataType^ value);
}
[<SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver),
"Resolve", )>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver),
"Resolve", )>]
[<SfcReferenceAttribute(typeof(UserDefinedTableType), typeof(UserDefinedTableTypeResolver),
"Resolve", )>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Design)>]
abstract DataType : DataType with get, set
[<SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver),
"Resolve", )>]
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver),
"Resolve", )>]
[<SfcReferenceAttribute(typeof(UserDefinedTableType), typeof(UserDefinedTableTypeResolver),
"Resolve", )>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Design)>]
override DataType : DataType with get, set
function get DataType () : DataType
function set DataType (value : DataType)
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.DataType
A DataType object value that specifies the data type associated with the parameter.
Comentarios
Thread Safety
Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Ejemplos
Crear, modificar y eliminar los procedimientos almacenados