ClientProtocol 클래스
The ClientProtocol class represents a network protocol installed on a client instance that allows communication with the instance of SQL Server over a network.
상속 계층
System.Object
Microsoft.SqlServer.Management.Smo.SmoObjectBase
Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
Microsoft.SqlServer.Management.Smo.Wmi.ProtocolBase
Microsoft.SqlServer.Management.Smo.Wmi.ClientProtocol
네임스페이스: Microsoft.SqlServer.Management.Smo.Wmi
어셈블리: Microsoft.SqlServer.SqlWmiManagement(Microsoft.SqlServer.SqlWmiManagement.dll)
구문
‘선언
Public NotInheritable Class ClientProtocol _
Inherits ProtocolBase
‘사용 방법
Dim instance As ClientProtocol
public sealed class ClientProtocol : ProtocolBase
public ref class ClientProtocol sealed : public ProtocolBase
[<SealedAttribute>]
type ClientProtocol =
class
inherit ProtocolBase
end
public final class ClientProtocol extends ProtocolBase
ClientProtocol 유형에서 다음 멤버를 표시합니다.
속성
이름 | 설명 | |
---|---|---|
![]() |
DisplayName | Gets or sets the display name of the referenced protocol. |
![]() |
IsEnabled | Gets or sets the Boolean property that specifies whether the client network protocol is enabled or disabled. |
![]() |
Name | Gets or sets the name of the referenced Windows Management Instrumentation (WMI) object. (WmiSmoObject에서 상속됨) |
![]() |
NetLibInfo | Gets the network library information file for the referenced protocol. |
![]() |
NetworkLibrary | Gets the network library file name for the referenced protocol. |
![]() |
Order | Gets or sets the order in which the referenced protocol is listed and applied in relation to the other currently supported protocols. |
![]() |
Parent | Gets the ManagedComputer object that is the parent of the ClientProtocol object. |
![]() |
Properties | Represents a collection of Property objects. Each Property object represents a property defined on the Windows Management Instrumentation (WMI) object. (WmiSmoObject에서 상속됨) |
![]() |
ProtocolProperties | Represents a collection of ProtocolProperty objects. Each ProtocolProperty object represents an attribute defined on the referenced protocol. (ProtocolBase에서 상속됨) |
![]() |
State | Gets the state of the referenced object. (SmoObjectBase에서 상속됨) |
![]() |
Urn | Gets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object. (WmiSmoObject에서 상속됨) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (SmoObjectBase에서 상속됨) |
맨 위로 이동
메서드
이름 | 설명 | |
---|---|---|
![]() |
Alter | Updates any Protocol object property changes on an instance of SQL Server. (ProtocolBase에서 상속됨) |
![]() |
Equals | (Object에서 상속됨) |
![]() |
GetHashCode | (Object에서 상속됨) |
![]() |
GetType | (Object에서 상속됨) |
![]() |
Initialize | Initializes the referenced object. (WmiSmoObject에서 상속됨) |
![]() |
IsObjectInitialized | Specifies whether the referenced object is initialized. (WmiSmoObject에서 상속됨) |
![]() |
Refresh | Refreshes the objects and properties on the ClientProtocol object. (ProtocolBase.Refresh()을(를) 재정의함) |
![]() |
SetName | Sets the name of the referenced object. (WmiSmoObject에서 상속됨) |
![]() |
SetParentImpl | Sets the parent of the referenced object. (WmiSmoObject에서 상속됨) |
![]() |
ToString | (Object에서 상속됨) |
![]() |
Validate | Validates the state of an object. (SmoObjectBase에서 상속됨) |
맨 위로 이동
주의
With the ClientProtocol class you can:
Modify the display name of the protocol.
Enable or disable the protocol.
View the client network library name.
Modify the order in which the protocol is listed and applied.
Create a set of attributes for the protocol.
Thread Safety
이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.
예
WMI 공급자를 사용하여 서비스 및 네트워크 설정 관리
스레드 보안
이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.
참고 항목
참조
Microsoft.SqlServer.Management.Smo.Wmi 네임스페이스