共用方式為


WmiConnectionInfo Members

The WmiConnectionInfo class represents connection information used by the installation of Windows Management Instrumentation (WMI).

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

Public Properties

  名稱 Description
ms220758.pubproperty(zh-tw,SQL.90).gif MachineName Gets or sets the name of the computer on which Windows Management Instrumentation (WMI) is installed.
ms220758.pubproperty(zh-tw,SQL.90).gif ProviderArchitecture  
ms220758.pubproperty(zh-tw,SQL.90).gif Timeout Gets or sets the period after which the Windows Management Instrumentation (WMI) connection times out in seconds.
ms220758.pubproperty(zh-tw,SQL.90).gif Username Gets the name of the account used to establish the connection.

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms220758.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220758.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms220758.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms220758.pubmethod(zh-tw,SQL.90).gifms220758.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220758.pubmethod(zh-tw,SQL.90).gif SetPassword Sets the password for the account that is used to establish the connection.
ms220758.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

  名稱 Description
ms220758.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms220758.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

請參閱

參考

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

其他資源

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