Delen via


ScriptOption.WithDependencies Property

Gets an object 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)

Syntax

'Declaration
Public Shared ReadOnly Property WithDependencies As ScriptOption
    Get
'Usage
Dim value As ScriptOption

value = ScriptOption.WithDependencies
public static ScriptOption WithDependencies { get; }
public:
static property ScriptOption^ WithDependencies {
    ScriptOption^ get ();
}
static member WithDependencies : ScriptOption
static function get WithDependencies () : ScriptOption

Property Value

Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the WithDependencies in the scripting options.

Examples

Scripting