ScriptingOptions::WithDependencies Property
SQL Server 2012
Gets or sets the Boolean property value that specifies whether to include all dependent objects in the generated script.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Property Value
Type: System::BooleanA Boolean value that specifies whether to include all dependent objects in the generated script.If True, all dependent object are included in the script. Otherwise, False (default).