[This is preliminary documentation and is subject to change.]

Initializes a new instance of the ProtectionEntry class

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2011.1.34.7706 (2011.1.34.7706.BETA)

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