Condividi tramite


Metodo DependencyCollection.ContainsUrn

Determines whether the specified Urn object exists on the specified server.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function ContainsUrn ( _
    urn As Urn, _
    srv As Server _
) As Boolean
'Utilizzo
Dim instance As DependencyCollection 
Dim urn As Urn 
Dim srv As Server 
Dim returnValue As Boolean 

returnValue = instance.ContainsUrn(urn, _
    srv)
public bool ContainsUrn(
    Urn urn,
    Server srv
)
public:
bool ContainsUrn(
    Urn^ urn, 
    Server^ srv
)
member ContainsUrn : 
        urn:Urn * 
        srv:Server -> bool
public function ContainsUrn(
    urn : Urn, 
    srv : Server
) : boolean

Parametri

Valore restituito

Tipo: System.Boolean
Boolean indicating if the specified URN is present in a dependency collection.

Vedere anche

Riferimento

DependencyCollection Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

DependencyCollectionNode