ServerProtocol.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(Microsoft.SqlServer.SqlWmiManagement.dll)

구문

‘선언
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.

WMI 공급자를 사용하여 서비스 및 네트워크 설정 관리

참고 항목

참조

ServerProtocol 클래스

Microsoft.SqlServer.Management.Smo.Wmi 네임스페이스

관련 자료

WMI and SQL Server

SQL Server 데이터베이스 엔진에 연결