Sdílet prostřednictvím


Job.JobType Property

Gets the job type, which specifies whether the job is local or multiserver.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property JobType As JobType
    Get
'Usage
Dim instance As Job
Dim value As JobType

value = instance.JobType
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public JobType JobType { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property JobType JobType {
    JobType get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member JobType : JobType
function get JobType () : JobType

Property Value

Type: Microsoft.SqlServer.Management.Smo.Agent.JobType
A JobType object value that specifies the job type, which is either local or multiserver.