AvailabilityGroupCollection.CopyTo 메서드
Copies the current availability group collection to the specified availability group array at the specified index.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub CopyTo ( _
array As AvailabilityGroup(), _
index As Integer _
)
‘사용 방법
Dim instance As AvailabilityGroupCollection
Dim array As AvailabilityGroup()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
AvailabilityGroup[] array,
int index
)
public:
void CopyTo(
array<AvailabilityGroup^>^ array,
int index
)
member CopyTo :
array:AvailabilityGroup[] *
index:int -> unit
public function CopyTo(
array : AvailabilityGroup[],
index : int
)
매개 변수
- array
유형: array<Microsoft.SqlServer.Management.Smo.AvailabilityGroup[]
The array of availability group to which the collection will be copied.
- index
유형: System.Int32
The index of the availability group array at which the collection groups will be copied.