JobDefinition Constructor (Guid, Guid, Generic IList, Guid, Guid, JobCredentials, Boolean)
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 IList(Of Pair(Of Guid, 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 IList(Of Pair(Of Guid, String)), _
targetEntityId As Guid, _
locationEntityId As Guid, _
credentials As JobCredentials, _
requiresEncryption As Boolean _
)
public JobDefinition (
Guid jobId,
Guid taskId,
IList<Pair<Guid,string>> overrides,
Guid targetEntityId,
Guid locationEntityId,
JobCredentials credentials,
bool requiresEncryption
)
public:
JobDefinition (
Guid jobId,
Guid taskId,
IList<Pair<Guid, String^>^>^ overrides,
Guid targetEntityId,
Guid locationEntityId,
JobCredentials^ credentials,
bool requiresEncryption
)
public JobDefinition (
Guid jobId,
Guid taskId,
IList<Pair<Guid,String>> overrides,
Guid targetEntityId,
Guid locationEntityId,
JobCredentials credentials,
boolean requiresEncryption
)
public function JobDefinition (
jobId : Guid,
taskId : Guid,
overrides : IList<Pair<Guid,String>>,
targetEntityId : Guid,
locationEntityId : Guid,
credentials : JobCredentials,
requiresEncryption : boolean
)
Parameters
- jobId
The Job identifier.
- taskId
The Task identifier.
- overrides
A list of Pair objects that contain the override Guid parameter identifiers and String value pairs.
- targetEntityId
The Target entity identifier.
- locationEntityId
The location entity identifier. May be null.
- credentials
The user credentials. May be null.
- requiresEncryption
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