VolumeCollection.Item Property (String)
Returns the object with the specified name in the collection
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As Volume
Get
'Usage
Dim instance As VolumeCollection
Dim name As String
Dim value As Volume
value = instance(name)
public Volume this[
string name
] { get; }
public:
property Volume^ default[String^ name] {
Volume^ get (String^ name);
}
member Item : Volume
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String value that specifies the name of the computer.
Property Value
Type: Microsoft.SqlServer.Management.Utility.Volume
A Volume object that represents the volume with the specified name.