ModelPropertyClass.IsDefaultValue 메서드
Returns if the value is the platform default value.
네임스페이스: Microsoft.SqlServer.Dac.Model
어셈블리: Microsoft.SqlServer.Dac.Extensions(Microsoft.SqlServer.Dac.Extensions.dll)
구문
‘선언
Public Function IsDefaultValue ( _
instance As TSqlObject, _
version As SqlServerVersion _
) As Boolean
‘사용 방법
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
매개 변수
- instance
유형: Microsoft.SqlServer.Dac.Model.TSqlObject
TSqlObject instance to determine the default property value for.
- version
유형: Microsoft.SqlServer.Dac.Model.SqlServerVersion
The SqlServerVersion to determine the default value for.
반환 값
유형: System.Boolean
True if the property is the platform default. Otherwise false.
예외
예외 | 조건 |
---|---|
DacModelException | If the supplied instance is not the owner of this property. |