SqlAssemblyCollection.Item Property (String)

Gets a SqlAssembly 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 SqlAssembly
    Get
'Usage
Dim instance As SqlAssemblyCollection
Dim name As String
Dim value As SqlAssembly

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

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.SqlAssembly
A SqlAssembly object value that represents the assembly.