共用方式為


ManagedComputer Members

The ManagedComputer class represents a Windows Management Instrumentation (WMI) installation on an instance of Microsoft SQL Server.

The following tables list the members exposed by the ManagedComputer type.

Public Constructors

  名稱 Description
ManagedComputer Overloaded. Initializes a new instance of the ManagedComputer class.

頂端

Public Properties

  名稱 Description
ms220661.pubproperty(zh-tw,SQL.90).gif ClientProtocols Represents a collection of ClientProtocol objects. Each ClientProtocol object represents a client protocol defined on the WMI installation.
ms220661.pubproperty(zh-tw,SQL.90).gif ConnectionSettings Gets the connection settings for the referenced WMI installation.
ms220661.pubproperty(zh-tw,SQL.90).gif Name  Gets or sets the name of the referenced Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject)
ms220661.pubproperty(zh-tw,SQL.90).gif Properties  Represents a collection of Property objects. Each Property object represents a property defined on the Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject)
ms220661.pubproperty(zh-tw,SQL.90).gif ServerAliases Represents a collection of ServerAlias objects. Each ServerAlias object represents a server alias defined on the WMI installation.
ms220661.pubproperty(zh-tw,SQL.90).gif ServerInstances Represents a collection of ServerInstance objects. Each ServerInstance object represents an instance of SQL Server defined on the WMI installation.
ms220661.pubproperty(zh-tw,SQL.90).gif Services Represents a collection of Service objects. Each Service object represents a SQL Server service defined on the WMI installation.
ms220661.pubproperty(zh-tw,SQL.90).gif State  Gets the state of the referenced object. (inherited from SmoObjectBase)
ms220661.pubproperty(zh-tw,SQL.90).gif Urn  Gets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object. (inherited from WmiSmoObject)
ms220661.pubproperty(zh-tw,SQL.90).gif UserData  Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase)

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms220661.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220661.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms220661.pubmethod(zh-tw,SQL.90).gif GetSmoObject Gets the WmiSmoObject object with the specified Uniform Resource Name (URN) address.
ms220661.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms220661.pubmethod(zh-tw,SQL.90).gif Initialize  Initializes the referenced object. (inherited from WmiSmoObject)
ms220661.pubmethod(zh-tw,SQL.90).gifms220661.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220661.pubmethod(zh-tw,SQL.90).gif Refresh  Refreshes the referenced object and its properties. (inherited from WmiSmoObject)
ms220661.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

  名稱 Description
ms220661.protmethod(zh-tw,SQL.90).gif AlterProtocolProperties  (inherited from WmiSmoObject )
ms220661.protmethod(zh-tw,SQL.90).gif CheckObjectState  Checks the state of the referenced object. (inherited from WmiSmoObject)
ms220661.protmethod(zh-tw,SQL.90).gif CreateProtocolPropertyCollection  Creates a set of protocol attributes for the referenced object. (inherited from WmiSmoObject)
ms220661.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms220661.protmethod(zh-tw,SQL.90).gif GetPropertyManagementObject  (inherited from WmiSmoObject )
ms220661.protmethod(zh-tw,SQL.90).gif GetPropertyObject  (inherited from WmiSmoObject )
ms220661.protmethod(zh-tw,SQL.90).gif GetProtocolPropertyCollection  Returns the protocol property collection for the referenced object. (inherited from WmiSmoObject)
ms220661.protmethod(zh-tw,SQL.90).gif ImplInitialize  (inherited from WmiSmoObject )
ms220661.protmethod(zh-tw,SQL.90).gif InvokeMgmtMethod  Overloaded. (inherited from WmiSmoObject )
ms220661.protmethod(zh-tw,SQL.90).gif IsObjectInitialized  Specifies whether the referenced object is initialized. (inherited from WmiSmoObject)
ms220661.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220661.protmethod(zh-tw,SQL.90).gif SetName  (inherited from WmiSmoObject )
ms220661.protmethod(zh-tw,SQL.90).gif SetParentImpl  (inherited from WmiSmoObject )
ms220661.protmethod(zh-tw,SQL.90).gifms220661.static(zh-tw,SQL.90).gif Trace  (inherited from WmiSmoObject )
ms220661.protmethod(zh-tw,SQL.90).gif UpdateObjectState  Updates the object state. (inherited from WmiSmoObject)

頂端

請參閱

參考

ManagedComputer Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace

其他資源

Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
連接到 SQL Server Database Engine