TraceCollection.Insert 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Insert(Int32, String, String) |
使用指定的名稱和識別碼建立新的 Trace 物件,然後將它插入集合中指定的索引處,並傳回新建立的 Trace。 |
Insert(Int32, String) |
使用指定的名稱建立新的 Trace 物件,然後將它插入集合中指定的索引處,並傳回新建立的 Trace。 |
Insert(Int32, Trace) |
將指定的 Trace 插入集合中指定的索引位置。 |
Insert(Int32) |
使用產生的唯一名稱和識別碼,建立新的 Trace 物件,然後將它插入集合中指定的索引處,並傳回新建立的 Trace。 |
Insert(Int32, String, String)
使用指定的名稱和識別碼建立新的 Trace 物件,然後將它插入集合中指定的索引處,並傳回新建立的 Trace。
public Microsoft.AnalysisServices.Tabular.Trace Insert (int index, string name, string id);
override this.Insert : int * string * string -> Microsoft.AnalysisServices.Tabular.Trace
Public Function Insert (index As Integer, name As String, id As String) As Trace
參數
傳回
新建立的 Trace 物件。
例外狀況
指定的索引不是有效的值 (小於零或大於項目總數)。
- 指定的名稱在集合中無效。
- 指定的識別碼在集合中無效。
適用於
Insert(Int32, String)
使用指定的名稱建立新的 Trace 物件,然後將它插入集合中指定的索引處,並傳回新建立的 Trace。
public Microsoft.AnalysisServices.Tabular.Trace Insert (int index, string name);
override this.Insert : int * string -> Microsoft.AnalysisServices.Tabular.Trace
Public Function Insert (index As Integer, name As String) As Trace
參數
傳回
新建立的 Trace 物件。
例外狀況
指定的索引不是有效的值 (小於零或大於項目總數)。
指定的名稱在集合中無效。
備註
的識別碼 Trace 會根據指定的 Name 產生。
適用於
Insert(Int32, Trace)
將指定的 Trace 插入集合中指定的索引位置。
public void Insert (int index, Microsoft.AnalysisServices.Tabular.Trace item);
override this.Insert : int * Microsoft.AnalysisServices.Tabular.Trace -> unit
Public Sub Insert (index As Integer, item As Trace)
參數
例外狀況
指定的索引不是有效的值 (小於零或大於項目總數)。
適用於
Insert(Int32)
使用產生的唯一名稱和識別碼,建立新的 Trace 物件,然後將它插入集合中指定的索引處,並傳回新建立的 Trace。
public Microsoft.AnalysisServices.Tabular.Trace Insert (int index);
override this.Insert : int -> Microsoft.AnalysisServices.Tabular.Trace
Public Function Insert (index As Integer) As Trace
參數
傳回
新建立的 Trace 物件。
例外狀況
指定的索引不是有效的值 (小於零或大於項目總數)。