Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DefaultConstraint.Rename Method (String)

 

Applies To: SQL Server 2016 Preview

Renames the default constraint.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Rename(
	string newname
)

Parameters

newname
Type: System.String

A String value that specifies the new name of the default constraint.

Legacy Code Example

Return to top
Show:
© 2015 Microsoft