共用方式為


Synonym.IsSchemaOwned 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public ReadOnly Property IsSchemaOwned As Boolean 
    Get
'用途
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

屬性值

型別: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.

請參閱

參考

Synonym 類別

Microsoft.SqlServer.Management.Smo 命名空間