Share via


SPEncryptedString Constructor (String, SPPersistedObject)

Initializes a new instance of the SPEncryptedString class.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    owner As SPPersistedObject _
)
'Usage
Dim name As String
Dim owner As SPPersistedObject

Dim instance As New SPEncryptedString(name, owner)
public SPEncryptedString(
    string name,
    SPPersistedObject owner
)

Parameters

  • name
    Type: System.String

    A string that contains a name for the encrypted string.

See Also

Reference

SPEncryptedString Class

SPEncryptedString Members

SPEncryptedString Overload

Microsoft.SharePoint.Administration Namespace