共用方式為


SetName 方法

Sets the name of the referenced object.

命名空間:  Microsoft.SqlServer.Management.Smo.Wmi
組件:  Microsoft.SqlServer.SqlWmiManagement (在 Microsoft.SqlServer.SqlWmiManagement.dll 中)

語法

'宣告
Protected Friend Sub SetName ( _
    name As String _
)
'用途
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
)

參數