CopyTo 方法
Copies the current application role collection to the specified application role array at the specified index.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub CopyTo ( _
array As ApplicationRole(), _
index As Integer _
)
用法
Dim instance As ApplicationRoleCollection
Dim array As ApplicationRole()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
ApplicationRole[] array,
int index
)
public:
void CopyTo(
array<ApplicationRole^>^ array,
int index
)
member CopyTo :
array:ApplicationRole[] *
index:int -> unit
public function CopyTo(
array : ApplicationRole[],
index : int
)
参数
- array
类型:array<Microsoft.SqlServer.Management.Smo. . :: . .ApplicationRole> [] () [] []
The array of application roles to which the collection will be added.
- index
类型:System. . :: . .Int32
The index of the application role array at which the collection roles will be added.