Remove 方法

Removes a specified URN from a collection.

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

語法

'宣告
Public Function Remove ( _
    urn As Urn _
) As Boolean
'用途
Dim instance As UrnCollection
Dim urn As Urn
Dim returnValue As Boolean

returnValue = instance.Remove(urn)
public bool Remove(
    Urn urn
)
public:
virtual bool Remove(
    Urn^ urn
) sealed
abstract Remove : 
        urn:Urn -> bool 
override Remove : 
        urn:Urn -> bool 
public final function Remove(
    urn : Urn
) : boolean

參數

  • urn
    型別:Urn
    Urn

傳回值

型別:System. . :: . .Boolean
Boolean

實作

ICollection< (Of < ( <'T> ) > ) >. . :: . .Remove(T)

範例

使用集合