Share via


WmiSmoObject.SetName(String) Method

Definition

Sets the name of the referenced object.

protected public:
 void SetName(System::String ^ name);
protected internal void SetName (string name);
member this.SetName : string -> unit
Protected Friend Sub SetName (name As String)

Parameters

name
String

A String value that specifies the name of the referenced object.

Examples

Managing Services and Network Settings by Using WMI Provider

Applies to