DeployedDac.DeployedDate Property

 

Gets the time and date when the DAC package was deployed on the instance of SQL Server.

Namespace:   Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public DateTime DeployedDate { get; }

Property Value

Type: System.DateTime

A DateTime value that specifies the cache directory where temporary files can be stored during deployment onto the instance of SQL Server.

VC#

System.Console.WriteLine(deployedDac.DeployedDate);

VB

System.Console.WriteLine(deployedDac.DeployedDate)

PowerShell

Write-Host $deployedDac.DeployedDate
Return to top
Show: