共用方式為


UserDefinedType.IsComVisible 屬性

Gets the Boolean property that specifies whether the alias data type is accessible from COM components.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsComVisible As Boolean 
    Get
'用途
Dim instance As UserDefinedType 
Dim value As Boolean 

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

屬性值

型別:System.Boolean
A Boolean value that specifies whether the alias data type is accessible from COM components.If True, the alias data type is accessible from COM components.If False (default), the alias data type is not accessible from COM components.

範例

使用資料類型

請參閱

參考

UserDefinedType 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

使用 CLR 使用者定義型別

CREATE TYPE (Transact-SQL)