PackageCollection.Contains 메서드 (Guid, String)

Determines whether the collection contains the package identified by the module ID and name.

네임스페이스:  Microsoft.SqlServer.Management.XEvent
어셈블리:  Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)

구문

‘선언
Public Function Contains ( _
    moduleID As Guid, _
    name As String _
) As Boolean
‘사용 방법
Dim instance As PackageCollection 
Dim moduleID As Guid 
Dim name As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(moduleID, _
    name)
public bool Contains(
    Guid moduleID,
    string name
)
public:
bool Contains(
    Guid moduleID, 
    String^ name
)
member Contains : 
        moduleID:Guid * 
        name:string -> bool
public function Contains(
    moduleID : Guid, 
    name : String
) : boolean

매개 변수

  • moduleID
    유형: System.Guid
    The module ID of the package.

반환 값

유형: System.Boolean
true if the collection contains the package; otherwise, false.

참고 항목

참조

PackageCollection 클래스

Contains 오버로드

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