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

Definition

Overloads

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

Gets a UserDefinedMessage object in the collection by index number.

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

Gets a UserDefinedMessage object in the collection by message ID value and language.

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

Gets a UserDefinedMessage object in the collection by index number.

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

An Int32 value that specifies the position of the UserDefinedMessage object in the UserDefinedMessageCollection collection.

Property Value

A UserDefinedMessage object value that represents the user-defined message.

Examples

Using Collections

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

Gets a UserDefinedMessage object in the collection by message ID value and language.

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

An Int32 value that specifies the ID value that uniquely identifies the user-defined message.

language
String String String

A String value that specifies the language in which the user-defined message is written.

Property Value

A UserDefinedMessage object value that represents the user-defined message.

Examples

Using Collections

Applies to