DependencyCollection.ContainsUrn(Urn, Server) DependencyCollection.ContainsUrn(Urn, Server) Method

Definition

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

public:
 bool ContainsUrn(Microsoft::SqlServer::Management::Sdk::Sfc::Urn ^ urn, Microsoft::SqlServer::Management::Smo::Server ^ srv);
public bool ContainsUrn (Microsoft.SqlServer.Management.Sdk.Sfc.Urn urn, Microsoft.SqlServer.Management.Smo.Server srv);
Parameters
urn
Urn Urn

A Urn object that specifies an object in URN format.

srv
Server Server

A Server object that specifies the instance of SQL Server.

Returns

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

Applies to

See Also