共用方式為


OleAutomationEnabled 屬性

Gets or sets the OleAutomationEnabled property value.

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

語法

'宣告
<DisplayDescriptionKeyAttribute("OleAutomationEnabledDesc")> _
<DisplayNameKeyAttribute("OleAutomationEnabledName")> _
Property OleAutomationEnabled As Boolean
    Get
    Set
'用途
Dim instance As ISurfaceAreaFacet
Dim value As Boolean

value = instance.OleAutomationEnabled

instance.OleAutomationEnabled = value
[DisplayDescriptionKeyAttribute("OleAutomationEnabledDesc")]
[DisplayNameKeyAttribute("OleAutomationEnabledName")]
bool OleAutomationEnabled { get; set; }
[DisplayDescriptionKeyAttribute(L"OleAutomationEnabledDesc")]
[DisplayNameKeyAttribute(L"OleAutomationEnabledName")]
property bool OleAutomationEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayDescriptionKeyAttribute("OleAutomationEnabledDesc")>]
[<DisplayNameKeyAttribute("OleAutomationEnabledName")>]
abstract OleAutomationEnabled : bool with get, set
function get OleAutomationEnabled () : boolean
function set OleAutomationEnabled (value : boolean)

屬性值

型別:System. . :: . .Boolean
Boolean