다음을 통해 공유


DependencyCollection.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.

참고 항목

참조

DependencyCollection 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

DependencyCollectionNode