Udostępnij za pośrednictwem


ScriptingOptions.SchemaQualify Property

Gets or sets the Boolean property value that specifies whether the schemas associated with objects are included in the generated script.

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

Syntax

'Deklaracja
Public Property SchemaQualify As Boolean
public bool SchemaQualify { get; set; }
public:
property bool SchemaQualify {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_SchemaQualify ()

/** @property */
public void set_SchemaQualify (boolean value)
public function get SchemaQualify () : boolean

public function set SchemaQualify (value : boolean)

Property Value

A Boolean value that specifies whether objects that have no schema are included in the generated script. If True, objects with no schema are not included in the generated script. Otherwise, False (default).

Remarks

"All permissions" includes server permissions, database permissions, and object permissions.

Example

Scripting

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.