Delen via


AlterAuthorizationStatement.ToSchemaOwner Property

Gets or sets a value that indicates whether the SCHEMA OWNER is used.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property ToSchemaOwner As Boolean 
    Get 
    Set
'Usage
Dim instance As AlterAuthorizationStatement 
Dim value As Boolean 

value = instance.ToSchemaOwner

instance.ToSchemaOwner = value
public bool ToSchemaOwner { get; set; }
public:
property bool ToSchemaOwner {
    bool get ();
    void set (bool value);
}
member ToSchemaOwner : bool with get, set
function get ToSchemaOwner () : boolean 
function set ToSchemaOwner (value : boolean)

Property Value

Type: System.Boolean
True if the SCHEMA OWNER is used; otherwise, false.

See Also

Reference

AlterAuthorizationStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace