共用方式為


UserDefinedType.IsSchemaOwned 屬性

Gets a Boolean value that indicates whether the UserDefinedType 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.Design)> _
Public ReadOnly Property IsSchemaOwned As Boolean 
    Get
'用途
Dim instance As UserDefinedType 
Dim value As Boolean 

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

屬性值

型別:System.Boolean
A Boolean value that indicates whether the UserDefinedType object is owned by a schema.

請參閱

參考

UserDefinedType 類別

Microsoft.SqlServer.Management.Smo 命名空間