Costruttore AvailabilityReplica (AvailabilityGroup, String)

Initializes a new instance of the AvailabilityReplica class on the specified availability group and with the specified name.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    availabilityGroup As AvailabilityGroup, _
    name As String _
)
'Utilizzo
Dim availabilityGroup As AvailabilityGroup 
Dim name As String 

Dim instance As New AvailabilityReplica(availabilityGroup, _
    name)
public AvailabilityReplica(
    AvailabilityGroup availabilityGroup,
    string name
)
public:
AvailabilityReplica(
    AvailabilityGroup^ availabilityGroup, 
    String^ name
)
new : 
        availabilityGroup:AvailabilityGroup * 
        name:string -> AvailabilityReplica
public function AvailabilityReplica(
    availabilityGroup : AvailabilityGroup, 
    name : String
)

Parametri

  • name
    Tipo: System.String
    The specified name of the availability replica to be created.

Vedere anche

Riferimento

AvailabilityReplica Classe

Overload AvailabilityReplica

Spazio dei nomi Microsoft.SqlServer.Management.Smo