Freigeben über


ModelPropertyClass.IsDefaultValue-Methode

Returns if the value is the platform default value.

Namespace:  Microsoft.SqlServer.Dac.Model
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public Function IsDefaultValue ( _
    instance As TSqlObject, _
    version As SqlServerVersion _
) As Boolean
'Usage
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

Parameter

Rückgabewert

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

Ausnahmen

Ausnahme Bedingung
DacModelException

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

Siehe auch

Verweis

ModelPropertyClass Klasse

Microsoft.SqlServer.Dac.Model-Namespace