共用方式為


SPWebApplication.InstallFiles Method

Installs the Microsoft ASP .NET configuration and resource files that are required to provision the application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Friend Overridable Sub InstallFiles ( _
    vrPath As DirectoryInfo, _
    validationKey As String, _
    decryptionKey As String _
)
'Usage
Dim vrPath As DirectoryInfo
Dim validationKey As String
Dim decryptionKey As String

Me.InstallFiles(vrPath, validationKey, _
    decryptionKey)
protected internal virtual void InstallFiles(
    DirectoryInfo vrPath,
    string validationKey,
    string decryptionKey
)

Parameters

  • validationKey
    Type: System.String

    A string that contains the key used for validation of encrypted data.

  • decryptionKey
    Type: System.String

    A string that contains the key used to encrypt data.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace