Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Determines whether the collection contains the package identified by the module ID and name.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public Function Contains ( _
moduleID As Guid, _
name As String _
) As Boolean
'Usage
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
Parameter
- moduleID
Typ: System.Guid
The module ID of the package.
- name
Typ: System.String
The name of the package.
Rückgabewert
Typ: System.Boolean
true if the collection contains the package; otherwise, false.