ParameterBase.DataType Property

Gets or sets the data type associated with the parameter.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property DataType As DataType
    Get
    Set
'Usage
Dim instance As ParameterBase
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)

Property Value

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

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.