Compartir a través de


Name Propiedad

Este miembro invalida a NamedSmoObject. . :: . .Name.

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

Sintaxis

'Declaración
<SfcKeyAttribute()> _
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Overrides Property Name As String
    Get
    Set
'Uso
Dim instance As Job
Dim value As String

value = instance.Name

instance.Name = value
[SfcKeyAttribute()]
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public override string Name { get; set; }
[SfcKeyAttribute()]
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
virtual property String^ Name {
    String^ get () override;
    void set (String^ value) override;
}
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
abstract Name : string with get, set
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
override Name : string with get, set
override function get Name () : String
override function set Name (value : String)

Valor de la propiedad

Tipo: System. . :: . .String