ContainsUrn 方法

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function ContainsUrn ( _
    urn As Urn, _
    srv As Server _
) As Boolean
用法
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

参数

返回值

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