PackageCollection.Contains Método (Guid, String)
Determines whether the collection contains the package identified by the module ID and name.
Espacio de nombres: Microsoft.SqlServer.Management.XEvent
Ensamblado: Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Sintaxis
'Declaración
Public Function Contains ( _
moduleID As Guid, _
name As String _
) As Boolean
'Uso
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
Parámetros
- moduleID
Tipo: System.Guid
The module ID of the package.
- name
Tipo: System.String
The name of the package.
Valor devuelto
Tipo: System.Boolean
true if the collection contains the package; otherwise, false.