JobExecutionTarget Class
- java.
lang. Object - com.
microsoft. azure. management. sql. JobExecutionTarget
- com.
public class JobExecutionTarget
The target that a job execution is executed on.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
databaseName()
Get the database name. |
String |
serverName()
Get the server name. |
Job |
type()
Get the type of the target. Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', 'SqlServer'. |
Method Details
databaseName
public String databaseName()
Get the database name.
Returns:
the databaseName value
serverName
public String serverName()
Get the server name.
Returns:
the serverName value
type
public JobTargetType type()
Get the type of the target. Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', 'SqlServer'.
Returns:
the type value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java