共用方式為


ServerRoleCollection.CopyTo(ServerRole[], Int32) Method

Definition

public void CopyTo (Microsoft.SqlServer.Management.Smo.ServerRole[] array, int index);
member this.CopyTo : Microsoft.SqlServer.Management.Smo.ServerRole[] * int -> unit
Public Sub CopyTo (array As ServerRole(), index As Integer)

Parameters

array
ServerRole[]
index
Int32

Applies to