IConstraintFactory.CreateDefaultConstraint Method (String)
Note: This API is now obsolete.
Creates an IMutableDefaultConstraint object that has the specified name.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
<ObsoleteAttribute("This method is not longer supported.", True)> _
Function CreateDefaultConstraint ( _
name As String _
) As IMutableDefaultConstraint
'Usage
Dim instance As IConstraintFactory
Dim name As String
Dim returnValue As IMutableDefaultConstraint
returnValue = instance.CreateDefaultConstraint(name)
[ObsoleteAttribute("This method is not longer supported.", true)]
IMutableDefaultConstraint CreateDefaultConstraint(
string name
)
[ObsoleteAttribute(L"This method is not longer supported.", true)]
IMutableDefaultConstraint^ CreateDefaultConstraint(
String^ name
)
[<ObsoleteAttribute("This method is not longer supported.", true)>]
abstract CreateDefaultConstraint :
name:string -> IMutableDefaultConstraint
function CreateDefaultConstraint(
name : String
) : IMutableDefaultConstraint
Parameters
- name
Type: System.String
The name of the default constraint to create.
Return Value
Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableDefaultConstraint
An IMutableDefaultConstraint object that has the specified name.