Condividi tramite


Metodo ModelPropertyClass.IsDefaultValue

Returns if the value is the platform default value.

Spazio dei nomi  Microsoft.SqlServer.Dac.Model
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Sintassi

'Dichiarazione
Public Function IsDefaultValue ( _
    instance As TSqlObject, _
    version As SqlServerVersion _
) As Boolean
'Utilizzo
Dim instance As ModelPropertyClass 
Dim instance As TSqlObject 
Dim version As SqlServerVersion 
Dim returnValue As Boolean 

returnValue = instance.IsDefaultValue(instance, _
    version)
public bool IsDefaultValue(
    TSqlObject instance,
    SqlServerVersion version
)
public:
bool IsDefaultValue(
    TSqlObject^ instance, 
    SqlServerVersion version
)
member IsDefaultValue : 
        instance:TSqlObject * 
        version:SqlServerVersion -> bool
public function IsDefaultValue(
    instance : TSqlObject, 
    version : SqlServerVersion
) : boolean

Parametri

Valore restituito

Tipo: System.Boolean
True if the property is the platform default. Otherwise false.

Eccezioni

Eccezione Condizione
DacModelException

If the supplied instance is not the owner of this property.

Vedere anche

Riferimento

ModelPropertyClass Classe

Spazio dei nomi Microsoft.SqlServer.Dac.Model