ZipArchive.CreateFromDirectory Method (String, String)
Namespace: Microsoft.TeamFoundation.Framework.Server.Alm
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Sub CreateFromDirectory ( _
sourceDirectoryName As String, _
destinationArchiveFileName As String _
)
public static void CreateFromDirectory(
string sourceDirectoryName,
string destinationArchiveFileName
)
public:
static void CreateFromDirectory(
String^ sourceDirectoryName,
String^ destinationArchiveFileName
)
static member CreateFromDirectory :
sourceDirectoryName:string *
destinationArchiveFileName:string -> unit
public static function CreateFromDirectory(
sourceDirectoryName : String,
destinationArchiveFileName : String
)
Parameters
- sourceDirectoryName
Type: System.String
- destinationArchiveFileName
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.