Compartilhar via


Construtor WmiSmoObject (String)

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

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

Sintaxe

'Declaração
Protected Friend Sub New ( _
    name As String _
)
'Uso
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
)

Parâmetros

Comentários

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

Exemplos

Gerenciando serviços e configurações de rede através do provedor do WMI

Consulte também

Referência

WmiSmoObject Classe

Sobrecarregado WmiSmoObject

Namespace Microsoft.SqlServer.Management.Smo.Wmi

Outros recursos

WMI and SQL Server

Conectando ao Mecanismo de Banco de Dados do SQL Server