다음을 통해 공유


IsEnabled 속성

Gets or sets the Boolean property that specifies whether the server network protocol is enabled or disabled.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Wmi
어셈블리:  Microsoft.SqlServer.SqlWmiManagement.dll의 Microsoft.SqlServer.SqlWmiManagement

구문

‘선언
Public Property IsEnabled As Boolean
    Get
    Set
‘사용 방법
Dim instance As ServerProtocol
Dim value As Boolean

value = instance.IsEnabled

instance.IsEnabled = value
public bool IsEnabled { get; set; }
public:
property bool IsEnabled {
    bool get ();
    void set (bool value);
}
member IsEnabled : bool with get, set
function get IsEnabled () : boolean
function set IsEnabled (value : boolean)

속성 값

형식: System. . :: . .Boolean
A Boolean value that specifies whether the server network protocol is enabled or disabled.
If True, the server network protocol is enabled.
If False (default), the server network protocol is disabled.