Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Returns if the value is the platform default value.
Espace de noms : Microsoft.SqlServer.Dac.Model
Assembly : Microsoft.SqlServer.Dac.Extensions (en Microsoft.SqlServer.Dac.Extensions.dll)
Syntaxe
'Déclaration
Public Function IsDefaultValue ( _
instance As TSqlObject, _
version As SqlServerVersion _
) As Boolean
'Utilisation
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
Paramètres
- instance
Type : Microsoft.SqlServer.Dac.Model.TSqlObject
TSqlObject instance to determine the default property value for.
- version
Type : Microsoft.SqlServer.Dac.Model.SqlServerVersion
The SqlServerVersion to determine the default value for.
Valeur de retour
Type : System.Boolean
True if the property is the platform default. Otherwise false.
Exceptions
| Exception | Condition |
|---|---|
| DacModelException | If the supplied instance is not the owner of this property. |