UserDefinedTypeCollection.Item[String, String] UserDefinedTypeCollection.Item[String, String] UserDefinedTypeCollection.Item[String, String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets a UserDefinedType object in the collection by index number.

Item[String] Item[String] Item[String]

Gets a UserDefinedType object in the collection by name.

Item[String, String] Item[String, String] Item[String, String]

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

Item[Int32] Item[Int32] Item[Int32]

Gets a UserDefinedType object in the collection by index number.

public:
 property Microsoft::SqlServer::Management::Smo::UserDefinedType ^ default[int] { Microsoft::SqlServer::Management::Smo::UserDefinedType ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.UserDefinedType this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As UserDefinedType
Parameters
index
Int32 Int32 Int32

An Int32 value that specifies the position of the UserDefinedType object in the UserDefinedTypeCollection collection.

Property Value

A UserDefinedType object value that represents the alias data type.

Examples

Using Collections

Item[String] Item[String] Item[String]

Gets a UserDefinedType object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::UserDefinedType ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::UserDefinedType ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.UserDefinedType this[string name] { get; }
Default Public ReadOnly Property Item(name As String) As UserDefinedType
Parameters
name
String String String

A String value that specifies the name of the UserDefinedType object in the UserDefinedTypeCollection collection.

Property Value

A UserDefinedType object value that represents the alias data type.

Examples

Using Collections

Item[String, String] Item[String, String] Item[String, String]

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

public:
 property Microsoft::SqlServer::Management::Smo::UserDefinedType ^ default[System::String ^, System::String ^] { Microsoft::SqlServer::Management::Smo::UserDefinedType ^ get(System::String ^ name, System::String ^ schema); };
public Microsoft.SqlServer.Management.Smo.UserDefinedType this[string name, string schema] { get; }
Default Public ReadOnly Property Item(name As String, schema As String) As UserDefinedType
Parameters
name
String String String

A String value that specifies the name of the UserDefinedType object in the UserDefinedTypeCollection collection.

schema
String String String

A String value that specifies the name of the schema.

Property Value

A UserDefinedType object value that represents the alias data type.

Examples

Using Collections

Applies to