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)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property DeployedDate As DateTime
Get
'Usage
Dim instance As DeployedDac
Dim value As DateTime
value = instance.DeployedDate
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public DateTime DeployedDate { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property DateTime DeployedDate {
DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member DeployedDate : DateTime
function get DeployedDate () : DateTime
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.
Examples
VC#
System.Console.WriteLine(deployedDac.DeployedDate);
VB
System.Console.WriteLine(deployedDac.DeployedDate)
PowerShell
Write-Host $deployedDac.DeployedDate