DefaultCollection.Item Property (String, String)
Gets a Default object in the collection by name with the specified schema.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String, _
schema As String _
) As Default
Get
'Usage
Dim instance As DefaultCollection
Dim name As String
Dim schema As String
Dim value As Default
value = instance(name, schema)
public Default this[
string name,
string schema
] { get; }
public:
property Default^ default[String^ name, String^ schema] {
Default^ get (String^ name, String^ schema);
}
member Item : Default
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 Default object in the DefaultCollection collection.
- schema
Type: System.String
A String value that specifies the schema of the default.
Property Value
Type: Microsoft.SqlServer.Management.Smo.Default
A Default object value that represents the default.
See Also