共用方式為


ItemByIdAndLanguageId 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function ItemByIdAndLanguageId ( _
    id As Integer, _
    languageId As Integer _
) As SystemMessage
'用途
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

參數

傳回值

型別:Microsoft.SqlServer.Management.Smo. . :: . .SystemMessage
A SystemMessage object that has the specified ID value.

範例

使用集合