TargetServer.EnlistDate Property

Gets the date and time at which an instance of Microsoft SQL Server was enlisted as a member of a multiserver administration group.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property EnlistDate As DateTime 
    Get
'Usage
Dim instance As TargetServer 
Dim value As DateTime 

value = instance.EnlistDate
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DateTime EnlistDate { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DateTime EnlistDate {
    DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member EnlistDate : DateTime
function get EnlistDate () : DateTime

Property Value

Type: System.DateTime
A DateTime value that specifies the date and time when the instance of SQL Server was enlisted as a member of a multiserver administration group.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

TargetServer Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_help_targetserver (Transact-SQL)