Condividi tramite


Metodo TeamFoundationFileService.UploadFile (TeamFoundationRequestContext, Stream, 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, _
    ownerId As OwnerId _
) As Integer
public int UploadFile(
    TeamFoundationRequestContext requestContext,
    Stream content,
    OwnerId ownerId
)

Parametri

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