Share via


Método WmiSmoObject.SetName

Sets the name of the referenced object.

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

Sintaxe

'Declaração
Protected Friend Sub SetName ( _
    name As String _
)
'Uso
Dim name As String 

Me.SetName(name)
protected internal void SetName(
    string name
)
protected public:
void SetName(
    String^ name
)
member SetName : 
        name:string -> unit
function SetName(
    name : String
)

Parâmetros

Exemplos

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

Consulte também

Referência

WmiSmoObject Classe

Namespace Microsoft.SqlServer.Management.Smo.Wmi

Outros recursos

WMI and SQL Server

Conectando ao Mecanismo de Banco de Dados do SQL Server