WmiSmoObject.SetName Method
Sets the name of the referenced object.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Protected Friend Sub SetName ( _
name As String _
)
'Usage
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
)
Parameters
- name
Type: System.String
A String value that specifies the name of the referenced object.
Examples
Managing Services and Network Settings by Using WMI Provider
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace