IConstraintFactory.CreateCheckConstraint 메서드
Creates an IMutableCheckConstraint object that has the specified name.
네임스페이스: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
어셈블리: Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)
구문
‘선언
Function CreateCheckConstraint ( _
parent As ITabular, _
name As String _
) As IMutableCheckConstraint
‘사용 방법
Dim instance As IConstraintFactory
Dim parent As ITabular
Dim name As String
Dim returnValue As IMutableCheckConstraint
returnValue = instance.CreateCheckConstraint(parent, _
name)
IMutableCheckConstraint CreateCheckConstraint(
ITabular parent,
string name
)
IMutableCheckConstraint^ CreateCheckConstraint(
ITabular^ parent,
String^ name
)
abstract CreateCheckConstraint :
parent:ITabular *
name:string -> IMutableCheckConstraint
function CreateCheckConstraint(
parent : ITabular,
name : String
) : IMutableCheckConstraint
매개 변수
- parent
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.ITabular
The object that is the parent of the constraint.
- name
유형: System.String
The name of the CHECK constraint to create.
반환 값
유형: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableCheckConstraint
An IMutableCheckConstraint object.
참고 항목
참조
Microsoft.SqlServer.Management.SqlParser.MetadataProvider 네임스페이스