Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
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)
Syntax
'Declaration
Public Function ContainsUrn ( _
urn As Urn, _
srv As Server _
) As Boolean
'Usage
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
Parameters
- urn
Type: Microsoft.SqlServer.Management.Sdk.Sfc.Urn
A Urn object that specifies an object in URN format.
- srv
Type: Microsoft.SqlServer.Management.Smo.Server
A Server object that specifies the instance of SQL Server.
Return Value
Type: System.Boolean
Boolean indicating if the specified URN is present in a dependency collection.