ItemByIdAndLanguageId méthode
Extracts a member from the SystemMessageCollection collection using a system-defined, unique identifier and the specified language ID.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function ItemByIdAndLanguageId ( _
id As Integer, _
languageId As Integer _
) As SystemMessage
'Utilisation
Dim instance As SystemMessageCollection
Dim id As Integer
Dim languageId As Integer
Dim returnValue As SystemMessage
returnValue = instance.ItemByIdAndLanguageId(id, _
languageId)
public SystemMessage ItemByIdAndLanguageId(
int id,
int languageId
)
public:
SystemMessage^ ItemByIdAndLanguageId(
int id,
int languageId
)
member ItemByIdAndLanguageId :
id:int *
languageId:int -> SystemMessage
public function ItemByIdAndLanguageId(
id : int,
languageId : int
) : SystemMessage
Paramètres
- id
Type : System. . :: . .Int32
An Int32 value that uniquely identifies the SystemMessage object that is a member of the SystemMessageCollection collection.
- languageId
Type : System. . :: . .Int32
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo. . :: . .SystemMessage
A SystemMessage object that has the specified ID value.