DeployedDac.DeployedDate 属性
Gets the time and date when the DAC package was deployed on the instance of SQL Server.
命名空间: Microsoft.SqlServer.Management.Utility
程序集: Microsoft.SqlServer.Management.Utility(在 Microsoft.SqlServer.Management.Utility.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property DeployedDate As DateTime
Get
用法
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
属性值
类型: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