Compartir a través de


Name Propiedad

Gets or sets the name of the object.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Ensamblado:  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Sintaxis

'Declaración
Public Property Name As String
    Get
    Set
'Uso
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)

Valor de la propiedad

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