IWebMatrixHost.ApplyPathProtection Method
Applies to v2.
Applies a set of IProtectPathInfo rules to the site's files.
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Sub ApplyPathProtection ( _
protectPathInfos As IEnumerable(Of IProtectPathInfo) _
)
'Usage
Dim instance As IWebMatrixHost
Dim protectPathInfos As IEnumerable(Of IProtectPathInfo)
instance.ApplyPathProtection(protectPathInfos)
void ApplyPathProtection(
IEnumerable<IProtectPathInfo> protectPathInfos
)
void ApplyPathProtection(
IEnumerable<IProtectPathInfo^>^ protectPathInfos
)
abstract ApplyPathProtection :
protectPathInfos:IEnumerable<IProtectPathInfo> -> unit
function ApplyPathProtection(
protectPathInfos : IEnumerable<IProtectPathInfo>
)
Parameters
protectPathInfos
Type: System.Collections.Generic.IEnumerable<IProtectPathInfo>Set of rules to apply.
Remarks
Resets any protection already in place.