Click or drag to resize

RepositoryGetStream Method (String)

Get the record for an existing stream from the repository.

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
public Stream GetStream(
	string stream
)

Parameters

stream
Type: SystemString
Stream name

Return Value

Type: Stream
The Stream object if new stream was found, null if creation failed
Examples
Get the stream with the stream Id "//Rocket/GUI":
string targetStream = "//Rocket/GUI";
Stream s = rep.GetStream(targetStream);
See Also