JobTarget Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A job target, for example a specific database or a container of databases that is evaluated during job execution.
public class JobTarget
type JobTarget = class
Public Class JobTarget
- Inheritance
-
JobTarget
Constructors
JobTarget() |
Initializes a new instance of the JobTarget class. |
JobTarget(String, Nullable<JobTargetGroupMembershipType>, String, String, String, String, String) |
Initializes a new instance of the JobTarget class. |
Properties
DatabaseName |
Gets or sets the target database name. |
ElasticPoolName |
Gets or sets the target elastic pool name. |
MembershipType |
Gets or sets whether the target is included or excluded from the group. Possible values include: 'Include', 'Exclude' |
RefreshCredential |
Gets or sets the resource ID of the credential that is used during job execution to connect to the target and determine the list of databases inside the target. |
ServerName |
Gets or sets the target server name. |
ShardMapName |
Gets or sets the target shard map. |
Type |
Gets or sets the target type. Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', 'SqlServer' |
Methods
Validate() |
Validate the object. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應