SqlAssemblyCollection.Item[String] SqlAssemblyCollection.Item[String] SqlAssemblyCollection.Item[String] Property

Definition

Overloads

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

Gets a SqlAssembly object in the collection by index number.

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

Gets a SqlAssembly object in the collection by name.

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

Gets a SqlAssembly object in the collection by index number.

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

An Int32 value that specifies the position of the SqlAssembly object in the SqlAssemblyCollection collection.

Property Value

A SqlAssembly object value that represents the assembly.

Examples

Using Collections

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

Gets a SqlAssembly object in the collection by name.

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

A String value that specifies the name of the SqlAssembly object in the SqlAssemblyCollection collection.

Property Value

A SqlAssembly object value that represents the assembly.

Examples

Using Collections

Applies to