Share via


JobDefinition Constructor (Guid, Guid, String, Guid, Guid, JobCredentials, Boolean)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Initializes a new JobDefinition object by using the specified parameters

Namespace: Microsoft.EnterpriseManagement.Runtime
Assembly: Microsoft.EnterpriseManagement.Runtime (in Microsoft.EnterpriseManagement.Runtime.dll)

Usage

'Usage
Dim jobId As Guid
Dim taskId As Guid
Dim overrides As String
Dim targetEntityId As Guid
Dim locationEntityId As Guid
Dim credentials As JobCredentials
Dim requiresEncryption As Boolean

Dim instance As New JobDefinition(jobId, taskId, overrides, targetEntityId, locationEntityId, credentials, requiresEncryption)

Syntax

'Declaration
Public Sub New ( _
    jobId As Guid, _
    taskId As Guid, _
    overrides As String, _
    targetEntityId As Guid, _
    locationEntityId As Guid, _
    credentials As JobCredentials, _
    requiresEncryption As Boolean _
)
public JobDefinition (
    Guid jobId,
    Guid taskId,
    string overrides,
    Guid targetEntityId,
    Guid locationEntityId,
    JobCredentials credentials,
    bool requiresEncryption
)
public:
JobDefinition (
    Guid jobId, 
    Guid taskId, 
    String^ overrides, 
    Guid targetEntityId, 
    Guid locationEntityId, 
    JobCredentials^ credentials, 
    bool requiresEncryption
)
public JobDefinition (
    Guid jobId, 
    Guid taskId, 
    String overrides, 
    Guid targetEntityId, 
    Guid locationEntityId, 
    JobCredentials credentials, 
    boolean requiresEncryption
)
public function JobDefinition (
    jobId : Guid, 
    taskId : Guid, 
    overrides : String, 
    targetEntityId : Guid, 
    locationEntityId : Guid, 
    credentials : JobCredentials, 
    requiresEncryption : boolean
)

Parameters

  • jobId
    The Job identifier.
  • taskId
    The Task identifier.
  • overrides
    The XML that contains the overrides.
  • targetEntityId
    The Target entity identifier.
  • locationEntityId
    The location entity identifier. May benull
  • credentials
    The user credentials. May benull
  • requiresEncryption
    True if the Job requires encryption because its configuration contains sensitive information. Otherwise, false

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

JobDefinition Class
JobDefinition Members
Microsoft.EnterpriseManagement.Runtime Namespace