Compartilhar via


SoftwareDistributionPackage.SecurityRating Property

 

Applies To: Windows Server Update Services

Gets or sets the security rating of the package.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

public SecurityRating SecurityRating { get; set; }
public:
property SecurityRating SecurityRating {
    SecurityRating get();
    void set(SecurityRating value);
}
member SecurityRating : SecurityRating with get, set
Public Property SecurityRating As SecurityRating

Property Value

Type: Microsoft.UpdateServices.Administration.SecurityRating

The SecurityRating.

Remarks

Only update type package can access this property. If not, an InvalidOperationException will be thrown.

See Also

SoftwareDistributionPackage Class
Microsoft.UpdateServices.Administration Namespace

Return to top