Partilhar via


ProtocolRetryScheduleCollection.Add Method (ProtocolRetrySchedule, Int32)

Adds a ProtocolRetrySchedule at the specified position of a ProtocolRetryScheduleCollection.

Namespace: Microsoft.SqlServer.Management.Nmo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Sub Add ( _
    protocolRetrySchedule As ProtocolRetrySchedule, _
    insertAtPosition As Integer _
)
public void Add (
    ProtocolRetrySchedule protocolRetrySchedule,
    int insertAtPosition
)
public:
void Add (
    ProtocolRetrySchedule^ protocolRetrySchedule, 
    int insertAtPosition
)
public void Add (
    ProtocolRetrySchedule protocolRetrySchedule, 
    int insertAtPosition
)
public function Add (
    protocolRetrySchedule : ProtocolRetrySchedule, 
    insertAtPosition : int
)

Parameters

  • insertAtPosition
    The zero-based position at which to add the ProtocolRetrySchedule.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ProtocolRetryScheduleCollection Class
ProtocolRetryScheduleCollection Members
Microsoft.SqlServer.Management.Nmo Namespace