IConstraintFactory.CreateDefaultConstraint 메서드

Creates an IMutableDefaultConstraint object that has the specified name.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)


Function CreateDefaultConstraint ( _
    parent As IColumn, _
    name As String _
) As IMutableDefaultConstraint
‘사용 방법
Dim instance As IConstraintFactory 
Dim parent As IColumn 
Dim name As String 
Dim returnValue As IMutableDefaultConstraint 

returnValue = instance.CreateDefaultConstraint(parent, _
IMutableDefaultConstraint CreateDefaultConstraint(
    IColumn parent,
    string name
IMutableDefaultConstraint^ CreateDefaultConstraint(
    IColumn^ parent, 
    String^ name
abstract CreateDefaultConstraint : 
        parent:IColumn * 
        name:string -> IMutableDefaultConstraint
function CreateDefaultConstraint(
    parent : IColumn, 
    name : String
) : IMutableDefaultConstraint

매개 변수

  • name
    유형: System.String
    The name of the default constraint to create.

반환 값

유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableDefaultConstraint
An IMutableDefaultConstraint object.

참고 항목


IConstraintFactory 인터페이스

Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스