नोट
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप साइन इन करने या निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
इस पेज तक पहुँच के लिए प्रमाणन की आवश्यकता होती है. आप निर्देशिकाओं को बदलने का प्रयास कर सकते हैं.
Generates a Transact-SQL script that can be used to re-create the foreign key.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Overload List
| Name | Description |
|---|---|
| ForeignKey.Script () |
Generates a Transact-SQL script that can be used to re-create the foreign key.
|
| ForeignKey.Script (ScriptingOptions) |
Generates a Transact-SQL script that can be used to re-create the foreign key as specified by the script options.
|
See Also
Reference
ForeignKey Class
ForeignKey Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
Creating, Altering, and Removing Foreign Keys
Creating and Modifying FOREIGN KEY Constraints
CREATE TABLE (Transact-SQL)