Show / Hide Table of Contents

    Class JobCredential

    A stored credential that can be used by a job to connect to target databases.

    Inheritance
    Object
    Resource
    ProxyResource
    JobCredential
    Inherited Members
    Resource.Id
    Resource.Name
    Resource.Type
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Sql.dll
    Syntax
    [Microsoft.Rest.Serialization.JsonTransformation]
    public class JobCredential : Microsoft.Azure.Management.Sql.Models.ProxyResource

    Constructors

    JobCredential()

    Initializes a new instance of the JobCredential class.

    Declaration
    public JobCredential ();

    JobCredential(String, String, String, String, String)

    Initializes a new instance of the JobCredential class.

    Declaration
    public JobCredential (string username, string password, string id = null, string name = null, string type = null);
    Parameters
    String username

    The credential user name.

    String password

    The credential password.

    String id

    Resource ID.

    String name

    Resource name.

    String type

    Resource type.

    Properties

    Password

    Gets or sets the credential password.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.password")]
    public string Password { get; set; }
    Property Value
    String

    Username

    Gets or sets the credential user name.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="properties.username")]
    public string Username { get; set; }
    Property Value
    String

    Methods

    Validate()

    Validate the object.

    Declaration
    public virtual void Validate ();
    Exceptions
    ValidationException

    Thrown if validation fails

    Back to top Azure SDK for Net