IDefaultConstraint Interface
Represents a SQL Server default constraint.
Namespace: Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Interface IDefaultConstraint _
Inherits IMetadataObject
'Usage
Dim instance As IDefaultConstraint
public interface IDefaultConstraint : IMetadataObject
public interface class IDefaultConstraint : IMetadataObject
type IDefaultConstraint =
interface
interface IMetadataObject
end
public interface IDefaultConstraint extends IMetadataObject
The IDefaultConstraint type exposes the following members.
Properties
Name | Description | |
---|---|---|
IsSystemNamed | Gets a value that indicates whether the constraint was named by the system or a user. | |
Name | Gets the name of the metadata object. (Inherited from IMetadataObject.) | |
Parent | Gets the IColumn object that is the parent of this object. | |
Text | Gets the Transact-SQL statement that defines the default constraint. |
Top
Methods
Name | Description | |
---|---|---|
Accept<T> | Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.) |
Top