Compartilhar via


PackageSharingPolicy(String, PackageSharingPolicyScope) Construtor

Definição

Cria o objeto PackageSharingPolicy.

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)

Parâmetros

packageName
String

Nome do pacote específico que deve ser compartilhado.

sharingScope
PackageSharingPolicyScope

Parâmetro PackageSharingPolicyScope para indicar se os pacotes Code, Config, Data ou All devem ser compartilhados.

Aplica-se a