Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Marks the foreign key to be dropped next time its parent Table object is altered by the Alter method.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Rename ( _
newname As String _
)
'Utilisation
Dim instance As Check
Dim newname As String
instance.Rename(newname)
public void Rename(
string newname
)
public:
virtual void Rename(
String^ newname
) sealed
abstract Rename :
newname:string -> unit
override Rename :
newname:string -> unit
public final function Rename(
newname : String
)
Paramètres
- newname
Type : System.String
A String value that specifies the new name of the check constraint.
Implémente
Notes
[!REMARQUE]
For check constraints based on the UserDefinedTableType object this method generates an exception because user-defined data types cannot be modified.
Exemples
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo