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 : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.Models.JobTarget>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.Models.JobTarget>
type JobTarget = class
interface IJsonModel<JobTarget>
interface IPersistableModel<JobTarget>
Public Class JobTarget
Implements IJsonModel(Of JobTarget), IPersistableModel(Of JobTarget)
- Inheritance
-
JobTarget
- Implements
Constructors
JobTarget(JobTargetType) |
Initializes a new instance of JobTarget. |
Properties
DatabaseName |
The target database name. |
ElasticPoolName |
The target elastic pool name. |
MembershipType |
Whether the target is included or excluded from the group. |
RefreshCredential |
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 |
The target server name. |
ShardMapName |
The target shard map. |
TargetType |
The target type. |
Explicit Interface Implementations
IJsonModel<JobTarget>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<JobTarget>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<JobTarget>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<JobTarget>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<JobTarget>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應