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.