Propriété ExpirationDate

Gets or sets the date and time when the service route expires.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property ExpirationDate As DateTime
    Get
    Set
'Utilisation
Dim instance As ServiceRoute
Dim value As DateTime

value = instance.ExpirationDate

instance.ExpirationDate = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DateTime ExpirationDate { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DateTime ExpirationDate {
    DateTime get ();
    void set (DateTime value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ExpirationDate : DateTime with get, set
function get ExpirationDate () : DateTime
function set ExpirationDate (value : DateTime)

Valeur de propriété

Type : System. . :: . .DateTime
A DateTime system object value that specifies the date and time when the service route expires.