DefaultCollection.Item Property (Int32)
Gets a Default object in the collection by index number.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As Default
Get
'Usage
Dim instance As DefaultCollection
Dim index As Integer
Dim value As Default
value = instance(index)
public Default this[
int index
] { get; }
public:
property Default^ default[int index] {
Default^ get (int index);
}
member Item : Default
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
An Int32 value that specifies the position of the Default object in the DefaultCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.Default
A Default object value that represents the default.
See Also