Share via


DataType.Float Property

Gets a data type that specifies the Float definition used in the data type.

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

Syntax

'Declaration
Public Shared ReadOnly Property Float As DataType
    Get
'Usage
Dim value As DataType

value = DataType.Float
public static DataType Float { get; }
public:
static property DataType^ Float {
    DataType^ get ();
}
static member Float : DataType
static function get Float () : DataType

Property Value

Type: Microsoft.SqlServer.Management.Smo.DataType
A DataType object value that specifies a Float definition in the data type.

Examples

Visual Basic

Dim d As DataType
d = New DataType(SqlDataType.Float)

PowerShell

$dt = new-object Microsoft.SqlServer.Management.Smo.DataType([Microsoft.SqlServer.Management.Smo.SqlDataType]::Float)