Share via


TargetServer.PollingInterval Property

Gets the length of time in seconds that the target server waits between attempts to connect to the master server to download pending instructions.

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

Syntax

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

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

Property Value

Type: System.Int32
An Int32 value that specifies the number of seconds between attempts to poll the master server.

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)