Share via


TrustPolicy.Write Method (String, Boolean)

 

Writes the name of the XML file that stores this trust policy and sets the version number for this policy.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

public void Write(
    string filename,
    bool incrementVersion
)
public:
void Write(
    String^ filename,
    bool incrementVersion
)
member Write : 
        filename:string *
        incrementVersion:bool -> unit
Public Sub Write (
    filename As String,
    incrementVersion As Boolean
)

Parameters

  • incrementVersion
    Type: System.Boolean

    true to increment the version number for this policy; otherwise, false.

See Also

Write Overload
TrustPolicy Class
System.Web.Security.SingleSignOn Namespace

Return to top