Udostępnij za pośrednictwem


Job.Name Property

Gets or sets the name of the object.

Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcKeyAttribute(0)> _
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Overrides Property Name As String
[SfcKeyAttribute(0)] 
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)] 
public override string Name { get; set; }
[SfcKeyAttribute(0)] 
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)] 
public:
virtual property String^ Name {
    String^ get () override;
    void set (String^ value) override;
}
/** @property */
public String get_Name ()

/** @property */
public void set_Name (String value)
public override function get Name () : String

public override function set Name (value : String)

Property Value

A String value that specifies the name of the object.

Remarks

Uwaga

If the index is based on a UserDefinedTableType object, the name is always automatically system-generated regardless of the Name property value.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.