Partager via


Name propriété

Gets or sets the name of the referenced Windows Management Instrumentation (WMI) object.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (dans Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Public Property Name As String
    Get
    Set
'Utilisation
Dim instance As WmiSmoObject
Dim value As String

value = instance.Name

instance.Name = value
public string Name { get; set; }
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
member Name : string with get, set
function get Name () : String
function set Name (value : String)

Valeur de la propriété

Type : System. . :: . .String
A String value that specifies the name of the referenced WMI object.