DefaultCollection.Item[String, String] DefaultCollection.Item[String, String] DefaultCollection.Item[String, String] Property

Definition

Overloads

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

Gets a Default object in the collection by index number.

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

Gets a Default object in the collection by name.

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

Gets a Default object in the collection by name with the specified schema.

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

Gets a Default object in the collection by index number.

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

An Int32 value that specifies the position of the Default object in the DefaultCollection collection.

Property Value

A Default object value that represents the default.

Examples

Using Collections

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

Gets a Default object in the collection by name.

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

A String value that specifies the name of the Default object in the DefaultCollection collection.

Property Value

A Default object value that represents the default.

Examples

Using Collections

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

Gets a Default object in the collection by name with the specified schema.

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

A String value that specifies the name of the Default object in the DefaultCollection collection.

schema
String String String

A String value that specifies the schema of the default.

Property Value

A Default object value that represents the default.

Examples

Using Collections

Applies to