Initializes a new instance of the ProtectionEntry class

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)

Syntax

C#
public ProtectionEntry(
	ProtectionMode mode,
	EntryType type,
	string name,
	string host,
	string path
)
Visual Basic
Public Sub New ( _
	mode As ProtectionMode, _
	type As EntryType, _
	name As String, _
	host As String, _
	path As String _
)
Visual C++
public:
ProtectionEntry(
	ProtectionMode mode, 
	EntryType type, 
	String^ name, 
	String^ host, 
	String^ path
)

See Also