Propriété DeployedDate

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

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property DeployedDate As DateTime
    Get
'Utilisation
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

Valeur de propriété

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.

Exemples

VC#

System.Console.WriteLine(deployedDac.DeployedDate);

VB

System.Console.WriteLine(deployedDac.DeployedDate)

PowerShell

Write-Host $deployedDac.DeployedDate