Share via


UserDefinedTypeCollection.Item Property (String, String)

Gets a UserDefinedType object in the collection by name and schema.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String, _
    schema As String _
) As UserDefinedType 
    Get
'Usage
Dim instance As UserDefinedTypeCollection 
Dim name As String 
Dim schema As String 
Dim value As UserDefinedType 

value = instance(name, schema)
public UserDefinedType this[
    string name,
    string schema
] { get; }
public:
property UserDefinedType^ default[String^ name, String^ schema] {
    UserDefinedType^ get (String^ name, String^ schema);
}
member Item : UserDefinedType
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.UserDefinedType
A UserDefinedType object value that represents the alias data type.

Examples

Using Collections

See Also

Reference

UserDefinedTypeCollection Class

Item Overload

Microsoft.SqlServer.Management.Smo Namespace