Compartilhar via


Método ILocationService.RemoveServiceDefinition (String, Guid)

Remove o ServiceDefinition com o tipo de serviço e o identificador especificados de serviço do serviço de rede local.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (em Microsoft.TeamFoundation.Client.dll)

Sintaxe

'Declaração
Sub RemoveServiceDefinition ( _
    serviceType As String, _
    serviceIdentifier As Guid _
)
void RemoveServiceDefinition(
    string serviceType,
    Guid serviceIdentifier
)

Parâmetros

  • serviceType
    Tipo: System.String
    O tipo de serviço da ServiceDefinition remover.
  • serviceIdentifier
    Tipo: System.Guid
    O identificador do serviço da ServiceDefinition remover.

Exceções

Exceção Condição
IllegalDeleteSelfReferenceServiceDefinitionException

Lançada se o chamador tentar excluir o auto (- refernce serviço de rede local) ServiceDefinition.

Segurança do .NET Framework

Consulte também

Referência

ILocationService Interface

Sobrecargas RemoveServiceDefinition

Namespace Microsoft.TeamFoundation.Framework.Client