Delen via


PackageSharingPolicy(String, PackageSharingPolicyScope) Constructor

Definition

Creates PackageSharingPolicy object.

public PackageSharingPolicy (string packageName, System.Fabric.PackageSharingPolicyScope sharingScope);
new System.Fabric.PackageSharingPolicy : string * System.Fabric.PackageSharingPolicyScope -> System.Fabric.PackageSharingPolicy
Public Sub New (packageName As String, sharingScope As PackageSharingPolicyScope)

Parameters

packageName
String

Name of specific package that should be shared.

sharingScope
PackageSharingPolicyScope

PackageSharingPolicyScope parameter to indicate whether Code, Config, Data or All packages should be shared.

Applies to