SearchPropertyListCollection.ItemById 方法
Gets a search property list in the collection by using the specified identifier.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function ItemById ( _
id As Integer _
) As SearchPropertyList
'用途
Dim instance As SearchPropertyListCollection
Dim id As Integer
Dim returnValue As SearchPropertyList
returnValue = instance.ItemById(id)
public SearchPropertyList ItemById(
int id
)
public:
SearchPropertyList^ ItemById(
int id
)
member ItemById :
id:int -> SearchPropertyList
public function ItemById(
id : int
) : SearchPropertyList
參數
- id
型別:System.Int32
The specified identifier.
傳回值
型別:Microsoft.SqlServer.Management.Smo.SearchPropertyList
The search property list indicated by the identifier.