JobTarget Constructors
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.
Overloads
JobTarget() |
Initializes a new instance of the JobTarget class. |
JobTarget(JobTargetType, Nullable<JobTargetGroupMembershipType>, String, String, String, String, String) |
Initializes a new instance of the JobTarget class. |
JobTarget()
Initializes a new instance of the JobTarget class.
public JobTarget ();
Public Sub New ()
Applies to
JobTarget(JobTargetType, Nullable<JobTargetGroupMembershipType>, String, String, String, String, String)
Initializes a new instance of the JobTarget class.
public JobTarget (Microsoft.Azure.Management.Sql.Fluent.Models.JobTargetType type, Microsoft.Azure.Management.Sql.Fluent.Models.JobTargetGroupMembershipType? membershipType = default, string serverName = default, string databaseName = default, string elasticPoolName = default, string shardMapName = default, string refreshCredential = default);
new Microsoft.Azure.Management.Sql.Fluent.Models.JobTarget : Microsoft.Azure.Management.Sql.Fluent.Models.JobTargetType * Nullable<Microsoft.Azure.Management.Sql.Fluent.Models.JobTargetGroupMembershipType> * string * string * string * string * string -> Microsoft.Azure.Management.Sql.Fluent.Models.JobTarget
Public Sub New (type As JobTargetType, Optional membershipType As Nullable(Of JobTargetGroupMembershipType) = Nothing, Optional serverName As String = Nothing, Optional databaseName As String = Nothing, Optional elasticPoolName As String = Nothing, Optional shardMapName As String = Nothing, Optional refreshCredential As String = Nothing)
Parameters
- type
- JobTargetType
The target type. Possible values include: 'TargetGroup', 'SqlDatabase', 'SqlElasticPool', 'SqlShardMap', 'SqlServer'
- membershipType
- Nullable<JobTargetGroupMembershipType>
Whether the target is included or excluded from the group. Possible values include: 'Include', 'Exclude'
- serverName
- String
The target server name.
- databaseName
- String
The target database name.
- elasticPoolName
- String
The target elastic pool name.
- shardMapName
- String
The target shard map.
- refreshCredential
- String
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.
Applies to
Azure SDK for .NET