SmoCollectionBase.GetItemById 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| GetItemById(Int32) | |
| GetItemById(Int32, String) |
GetItemById(Int32)
protected Microsoft.SqlServer.Management.Smo.SqlSmoObject GetItemById(int id);
member this.GetItemById : int -> Microsoft.SqlServer.Management.Smo.SqlSmoObject
Protected Function GetItemById (id As Integer) As SqlSmoObject
參數
- id
- Int32
傳回
適用於
GetItemById(Int32, String)
protected Microsoft.SqlServer.Management.Smo.SqlSmoObject GetItemById(int id, string idPropName);
member this.GetItemById : int * string -> Microsoft.SqlServer.Management.Smo.SqlSmoObject
Protected Function GetItemById (id As Integer, idPropName As String) As SqlSmoObject
參數
- id
- Int32
- idPropName
- String