Export (0) Print
Expand All
Expand Minimize

ScriptOption.DriPrimaryKey Property

Gets an object value that specifies whether dependency relationships defined in primary keys with enforced declarative referential integrity are included in the script.

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

public static ScriptOption DriPrimaryKey { get; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the DriPrimaryKeyin the scripting options.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft