Aracılığıyla paylaş


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

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

Top

Public Methods

(see also Protected Methods )

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

Top

Protected Methods

  Name Description
ms220758.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms220758.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

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

Other Resources

Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
Connecting to the SQL Server Database Engine