Share via


Propriété Money

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared ReadOnly Property Money As DataType
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

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)