Dela via


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