共用方式為


Remove 方法 (Int32, String)

Removes the object with the specified ID value and language from the message collection object.

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

語法

'宣告
Public Sub Remove ( _
    id As Integer, _
    language As String _
)
'用途
Dim instance As MessageCollectionBase
Dim id As Integer
Dim language As String

instance.Remove(id, language)
public void Remove(
    int id,
    string language
)
public:
void Remove(
    int id, 
    String^ language
)
member Remove : 
        id:int * 
        language:string -> unit 
public function Remove(
    id : int, 
    language : String
)

參數

範例

使用集合