ManagedComputer 클래스
The ManagedComputer class represents a Windows Management Instrumentation (WMI) installation on an instance of Microsoft SQL Server.
상속 계층
System.Object
Microsoft.SqlServer.Management.Smo.SmoObjectBase
Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject
Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer
네임스페이스: Microsoft.SqlServer.Management.Smo.Wmi
어셈블리: Microsoft.SqlServer.SqlWmiManagement(Microsoft.SqlServer.SqlWmiManagement.dll)
구문
‘선언
Public NotInheritable Class ManagedComputer _
Inherits WmiSmoObject
‘사용 방법
Dim instance As ManagedComputer
public sealed class ManagedComputer : WmiSmoObject
public ref class ManagedComputer sealed : public WmiSmoObject
[<SealedAttribute>]
type ManagedComputer =
class
inherit WmiSmoObject
end
public final class ManagedComputer extends WmiSmoObject
ManagedComputer 유형에서 다음 멤버를 표시합니다.
생성자
이름 | 설명 | |
---|---|---|
ManagedComputer() | Initializes a new instance of the ManagedComputer class. | |
ManagedComputer(String) | Initializes a new instance of the ManagedComputer class with the specified computer name. | |
ManagedComputer(String, String, String) | Initializes a new instance of the ManagedComputer class with the specified computer name and the specified login and password. | |
ManagedComputer(String, String, String, ProviderArchitecture) | Initializes a new instance of the ManagedComputer class with the specified computer name the specified login, password and the specified ProviderArchitecture. |
맨 위로 이동
속성
이름 | 설명 | |
---|---|---|
ClientProtocols | Represents a collection of ClientProtocol objects. Each ClientProtocol object represents a client protocol defined on the WMI installation. | |
ConnectionSettings | Gets the connection settings for the referenced WMI installation. | |
Name | Gets or sets the name of the referenced Windows Management Instrumentation (WMI) object. (WmiSmoObject에서 상속됨) | |
Properties | Represents a collection of Property objects. Each Property object represents a property defined on the Windows Management Instrumentation (WMI) object. (WmiSmoObject에서 상속됨) | |
ServerAliases | Represents a collection of ServerAlias objects. Each ServerAlias object represents a server alias defined on the WMI installation. | |
ServerInstances | Represents a collection of ServerInstance objects. Each ServerInstance object represents an instance of SQL Server defined on the WMI installation. | |
Services | Represents a collection of Service objects. Each Service object represents a SQL Server service defined on the WMI installation. | |
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에서 상속됨) |
맨 위로 이동
메서드
이름 | 설명 | |
---|---|---|
Equals | (Object에서 상속됨) | |
GetHashCode | (Object에서 상속됨) | |
GetSmoObject | Gets the WmiSmoObject object with the specified Uniform Resource Name (URN) address. | |
GetType | (Object에서 상속됨) | |
Initialize | Initializes the referenced object. (WmiSmoObject에서 상속됨) | |
IsObjectInitialized | Specifies whether the referenced object is initialized. (WmiSmoObject에서 상속됨) | |
Refresh | Refreshes the referenced object and its properties. (WmiSmoObject에서 상속됨) | |
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 ManagedComputer class you can:
Access client protocols.
Access connection settings.
Access server aliases.
Access instances of SQL Server.
Access SQL Server services.
Thread Safety
이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.
예
WMI 공급자를 사용하여 서비스 및 네트워크 설정 관리
스레드 보안
이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.