Condividi tramite


Metodo TeamFoundationFileService.UploadFile (TeamFoundationRequestContext, Stream, array<Byte , OwnerId)

Carica il file specificato all'archivio dei Blob

Spazio dei nomi:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Sintassi

'Dichiarazione
Public Function UploadFile ( _
    requestContext As TeamFoundationRequestContext, _
    content As Stream, _
    hashValue As Byte(), _
    ownerId As OwnerId _
) As Integer
public int UploadFile(
    TeamFoundationRequestContext requestContext,
    Stream content,
    byte[] hashValue,
    OwnerId ownerId
)

Parametri

  • hashValue
    Tipo: array<System.Byte[]
    Hash MD5 per il BLOB

Valore restituito

Tipo: System.Int32
un identificatore di file

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TeamFoundationFileService Classe

Overload UploadFile

Spazio dei nomi Microsoft.TeamFoundation.Framework.Server