TargetServer.EnlistDate 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property EnlistDate As DateTime 
    Get
用法
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

属性值

类型: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.

示例

在 SQL Server 代理中计划自动管理任务

请参阅

参考

TargetServer 类

Microsoft.SqlServer.Management.Smo.Agent 命名空间

其他资源

自动执行管理任务(SQL Server 代理)

sp_help_targetserver (Transact-SQL)