AvailabilityReplica 생성자 (AvailabilityGroup, String)
Initializes a new instance of the AvailabilityReplica class on the specified availability group and with the specified name.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub New ( _
availabilityGroup As AvailabilityGroup, _
name As String _
)
‘사용 방법
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
)
매개 변수
- availabilityGroup
유형: Microsoft.SqlServer.Management.Smo.AvailabilityGroup
The specified availability group in which to create the availability replica.
- name
유형: System.String
The specified name of the availability replica to be created.