RuleCollection.CopyTo メソッド
1 次元の配列にコレクション オブジェクトをコピーします。その際、指定されたインデックス値の位置からコピーを開始します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Sub CopyTo ( _
array As Rule(), _
index As Integer _
)
'使用
Dim instance As RuleCollection
Dim array As Rule()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
Rule[] array,
int index
)
public:
void CopyTo(
array<Rule^>^ array,
int index
)
member CopyTo :
array:Rule[] *
index:int -> unit
public function CopyTo(
array : Rule[],
index : int
)
パラメーター
- array
型: array<Microsoft.SqlServer.Management.Smo.Rule[]
Rule オブジェクトの配列です。
- index
型: System.Int32
コレクション内のコピー開始位置を示す Int32 値です。