UserDefinedDataTypeCollection.Item[String, String] UserDefinedDataTypeCollection.Item[String, String] UserDefinedDataTypeCollection.Item[String, String] Property

Definition

Overloads

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

Gets a UserDefinedDataType object in the collection by index number.

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

Gets a UserDefinedDataType object in the collection by name.

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

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

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

Gets a UserDefinedDataType object in the collection by index number.

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

An Int32 value that specifies the position of the UserDefinedDataType object in the UserDefinedDataTypeCollection collection.

Property Value

A UserDefinedDataType object value that represents the user-defined data type.

Examples

Using Collections

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

Gets a UserDefinedDataType object in the collection by name.

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

A String value that specifies the name of the UserDefinedDataType object in the UserDefinedDataTypeCollection collection.

Property Value

A UserDefinedDataType object value that represents the user-defined data type.

Examples

Using Collections

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

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

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

A String value that specifies the name of the UserDefinedDataType object in the UserDefinedDataTypeCollection collection.

schema
String String String

A String value that specifies the name of the schema.

Property Value

A UserDefinedDataType object value that represents the user-defined data type.

Examples

Using Collections

Applies to