PackageSharingPolicy(String, PackageSharingPolicyScope) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.