Bagikan melalui


ManagedComputer.ConnectionSettings Property

Gets the connection settings for the referenced WMI installation.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Syntax

'Declaration
Public ReadOnly Property ConnectionSettings As WmiConnectionInfo 
    Get
'Usage
Dim instance As ManagedComputer 
Dim value As WmiConnectionInfo 

value = instance.ConnectionSettings
public WmiConnectionInfo ConnectionSettings { get; }
public:
property WmiConnectionInfo^ ConnectionSettings {
    WmiConnectionInfo^ get ();
}
member ConnectionSettings : WmiConnectionInfo
function get ConnectionSettings () : WmiConnectionInfo

Property Value

Type: Microsoft.SqlServer.Management.Smo.Wmi.WmiConnectionInfo
A WmiConnectionInfo object that represents all the connection settings defined on the WMI installation.

Examples

Managing Services and Network Settings by Using WMI Provider

See Also

Reference

ManagedComputer Class

Microsoft.SqlServer.Management.Smo.Wmi Namespace

Other Resources

Connecting to the SQL Server Database Engine