SmoCollectionBase.GetItemById 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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