Condividi tramite


Proprietà DeployedDate

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

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property DeployedDate As DateTime
    Get
'Utilizzo
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

Valore proprietà

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

Esempi

VC#

System.Console.WriteLine(deployedDac.DeployedDate);

VB

System.Console.WriteLine(deployedDac.DeployedDate)

PowerShell

Write-Host $deployedDac.DeployedDate