共用方式為


SPProcessIdentity.Password Property

NOTE: This API is now obsolete.

Use the SetPassword(SecureString) method or the Provision() method.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use the SetPassword and Provision methods instead.")> _
Public Property Password As String
    Get
    Set
'Usage
Dim instance As SPProcessIdentity
Dim value As String

value = instance.Password

instance.Password = value
[ObsoleteAttribute("Use the SetPassword and Provision methods instead.")]
public string Password { get; set; }

Property Value

Type: System.String
A string that contains the password for the process identity.

Remarks

Whenever possible, use the SecurePassword property.

See Also

Reference

SPProcessIdentity Class

SPProcessIdentity Members

Microsoft.SharePoint.Administration Namespace