Skip to content

Commit

Permalink
.NET SDK Resource Provider:'DataFactory'
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5588'
REST Spec PR Author 'HaoQian-MS'
REST Spec PR Last commit
  • Loading branch information
adxsdknet committed Apr 9, 2019
1 parent d5e28c6 commit 0fa79e1
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public SSISLogLocation()
/// string (or Expression with resultType string).</param>
/// <param name="accessCredential">The package execution log access
/// credential.</param>
public SSISLogLocation(object logPath = default(object), SSISAccessCredential accessCredential = default(SSISAccessCredential))
public SSISLogLocation(object logPath, SSISAccessCredential accessCredential = default(SSISAccessCredential))
{
LogPath = logPath;
AccessCredential = accessCredential;
Expand Down Expand Up @@ -82,6 +82,10 @@ static SSISLogLocation()
/// </exception>
public virtual void Validate()
{
if (LogPath == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "LogPath");
}
if (AccessCredential != null)
{
AccessCredential.Validate();
Expand Down

0 comments on commit 0fa79e1

Please sign in to comment.