UserDefinedTypeCollection.ItemById メソッド

システム定義の一意の識別子を使用して、UserDefinedTypeCollection コレクションからメンバーを抽出します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Function ItemById ( _
    id As Integer _
) As UserDefinedType
'使用
Dim instance As UserDefinedTypeCollection 
Dim id As Integer 
Dim returnValue As UserDefinedType 

returnValue = instance.ItemById(id)
public UserDefinedType ItemById(
    int id
)
public:
UserDefinedType^ ItemById(
    int id
)
member ItemById : 
        id:int -> UserDefinedType
public function ItemById(
    id : int
) : UserDefinedType

パラメーター

戻り値

型: Microsoft.SqlServer.Management.Smo.UserDefinedType
指定された ID 値を持つ UserDefinedType オブジェクトです。

使用例

コレクションの使用

関連項目

参照

UserDefinedTypeCollection クラス

Microsoft.SqlServer.Management.Smo 名前空間