Synonym.IsSchemaOwned Property

Gets a Boolean value that specifies whether the Synonym object is owned by a schema.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public ReadOnly Property IsSchemaOwned As Boolean
    Get
'Usage
Dim instance As Synonym
Dim value As Boolean

value = instance.IsSchemaOwned
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool IsSchemaOwned { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property bool IsSchemaOwned {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member IsSchemaOwned : bool
function get IsSchemaOwned () : boolean

Property Value

Type: System.Boolean
A Boolean value that specifies whether the Synonym object is owned by a schema.
Returns True if the synonym is owned by a schema; otherwise, False.