Partager via


Propriété Name

Gets or sets the name of the object.

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Property Name As String
    Get
    Set
'Utilisation
Dim instance As RegSvrSmoObject
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 propriété

Type : System. . :: . .String
A String value that specifies the name for the object.