Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new JobDefinition object with the specified parameters.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.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 instance As New JobDefinition(jobId, taskId, overrides, targetEntityId, locationEntityId, credentials)
Syntax
'Declaration
Public Sub New ( _
    jobId As Guid, _
    taskId As Guid, _
    overrides As String, _
    targetEntityId As Guid, _
    locationEntityId As Guid, _
    credentials As JobCredentials _
)
public JobDefinition (
    Guid jobId,
    Guid taskId,
    string overrides,
    Guid targetEntityId,
    Guid locationEntityId,
    JobCredentials credentials
)
public:
JobDefinition (
    Guid jobId, 
    Guid taskId, 
    String^ overrides, 
    Guid targetEntityId, 
    Guid locationEntityId, 
    JobCredentials^ credentials
)
public JobDefinition (
    Guid jobId, 
    Guid taskId, 
    String overrides, 
    Guid targetEntityId, 
    Guid locationEntityId, 
    JobCredentials credentials
)
public function JobDefinition (
    jobId : Guid, 
    taskId : Guid, 
    overrides : String, 
    targetEntityId : Guid, 
    locationEntityId : Guid, 
    credentials : JobCredentials
)
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 be null.
- credentials
 The user credentials. May be null.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
JobDefinition Class
JobDefinition Members
Microsoft.EnterpriseManagement.Common Namespace