DataType.Money Property

Gets a data type that specifies the Money 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 Money As DataType 
    Get
'Usage
Dim value As DataType 

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

Property Value

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

Examples

Visual Basic

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

PowerShell

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

See Also

Reference

DataType Class

Microsoft.SqlServer.Management.Smo Namespace