UserDefinedTableTypeCollection.Item Property (String)
Gets a UserDefinedTableType object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As UserDefinedTableType
Get
'Usage
Dim instance As UserDefinedTableTypeCollection
Dim name As String
Dim value As UserDefinedTableType
value = instance(name)
public UserDefinedTableType this[
string name
] { get; }
public:
property UserDefinedTableType^ default[String^ name] {
UserDefinedTableType^ get (String^ name);
}
member Item : UserDefinedTableType
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String value that specifies the name of the UserDefinedTableType object in the UserDefinedTableTypeCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.UserDefinedTableType
A UserDefinedTableType object value that represents the user-defined table type.