ConfigPropertyCollection.Item[String] ConfigPropertyCollection.Item[String] ConfigPropertyCollection.Item[String] Property

Definition

Overloads

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

Gets a ConfigProperty object in the ConfigPropertyCollection collection by index number.

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

Gets a ConfigProperty object in the ConfigPropertyCollection collection by name.

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

Gets a ConfigProperty object in the ConfigPropertyCollection collection by index number.

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

An Int32 value that specifies the position of the ConfigProperty object in the ConfigPropertyCollection collection.

Property Value

A ConfigProperty object value that represents the configuration property.

Examples

Using Collections

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

Gets a ConfigProperty object in the ConfigPropertyCollection collection by name.

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

A String value that specifies the name of the ConfigProperty object in the ConfigPropertyCollection collection.

Property Value

A ConfigProperty object value that represents the configuration property.

Examples

Using Collections

Applies to