Freigeben über


WmiSmoObject-Konstruktor (String)

Initializes a new instance of the WmiSmoObject class with the specified name.

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

Syntax

'Declaration
Protected Friend Sub New ( _
    name As String _
)
'Usage
Dim name As String 

Dim instance As New WmiSmoObject(name)
protected internal WmiSmoObject(
    string name
)
protected public:
WmiSmoObject(
    String^ name
)
new : 
        name:string -> WmiSmoObject
function WmiSmoObject(
    name : String
)

Parameter

Hinweise

This constructor is called by derived class constructors to initialize the state in this type.

Beispiele

Verwalten von Diensten und Netzwerkeinstellungen durch die Nutzung von WMI-Anbieter

Siehe auch

Verweis

WmiSmoObject Klasse

WmiSmoObject-Überladung

Microsoft.SqlServer.Management.Smo.Wmi-Namespace

Andere Ressourcen

WMI and SQL Server

Herstellen einer Verbindung zum SQL Server-Datenbankmodul