Export (0) Print
Expand All

DependencyCollection.ContainsUrn Method

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public bool ContainsUrn(
	Urn urn,
	Server srv


Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
A Urn object that specifies an object in URN format.
Type: Microsoft.SqlServer.Management.Smo.Server
A Server object that specifies the instance of SQL Server.

Return Value

Type: Boolean
Boolean indicating if the specified URN is present in a dependency collection.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft