共用方式為


UrnCollection.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

參數

傳回值

型別:System.Boolean
A removed URN.

實作

ICollection<T>.Remove(T)

範例

使用集合

請參閱

參考

UrnCollection 類別

Microsoft.SqlServer.Management.Smo 命名空間