SmoCollectionBase.GetItemById Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- id
- Int32
Returns
Applies to
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
Parameters
- id
- Int32
- idPropName
- String