SystemMessageCollection.Item[Int32, String] SystemMessageCollection.Item[Int32, String] SystemMessageCollection.Item[Int32, String] Property

Definition

Overloads

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

Gets a SystemMessage object in the collection by index number.

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

Gets a SystemMessage object in the collection by name.

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

Gets a SystemMessage object in the collection by index number.

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

An Int32 value that specifies the position of the SystemMessage object in the SystemMessageCollection collection.

Property Value

A SystemMessage object value that represents the system message.

Examples

Using Collections

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

Gets a SystemMessage object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::SystemMessage ^ default[int, System::String ^] { Microsoft::SqlServer::Management::Smo::SystemMessage ^ get(int id, System::String ^ language); };
public Microsoft.SqlServer.Management.Smo.SystemMessage this[int id, string language] { get; }
Default Public ReadOnly Property Item(id As Integer, language As String) As SystemMessage
Parameters
id
Int32 Int32 Int32

An Int32 value that specifies an ID value that uniquely identifies the system message.

language
String String String

A String value that specifies the language in which the system message is written.

Property Value

A SystemMessage object value that represents the system message.

Examples

Using Collections

Applies to