共用方式為


SmoCollectionBase.GetItemById Method

Definition

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

Returns

Applies to