Export (0) Print
Expand All

SystemMessageCollection.ItemByIdAndLanguageId Method

Extracts a member from the SystemMessageCollection collection using a system-defined, unique identifier and the specified language ID.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public SystemMessage ItemByIdAndLanguageId(
	int id,
	int languageId
)

Parameters

id
Type: Int32
An Int32 value that uniquely identifies the SystemMessage object that is a member of the SystemMessageCollection collection.
languageId
Type: Int32
An Int32 value that specifies the ID value that uniquely identifies the language in which the system message is written. The language ID values are listed in sys.syslanguages system table, us_english is 0, and Deutsch is 1 for example.

Return Value

Type: Microsoft.SqlServer.Management.Smo.SystemMessage
A SystemMessage object that has the specified ID value.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft