SPEncryptedString constructor (String, SPPersistedObject, Boolean)
初始化SPEncryptedString類別的新執行個體,並選擇性地將會產生執行個體的唯一名稱。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub New ( _
name As String, _
owner As SPPersistedObject, _
farmIsParent As Boolean _
)
'用途
Dim name As String
Dim owner As SPPersistedObject
Dim farmIsParent As Boolean
Dim instance As New SPEncryptedString(name, owner, _
farmIsParent)
public SPEncryptedString(
string name,
SPPersistedObject owner,
bool farmIsParent
)
參數
name
Type: System.String字串,其中含有加密字串名稱。如果這個值是 null,該實例產生的唯一名稱。
owner
Type: Microsoft.SharePoint.Administration.SPPersistedObjectSPPersistedObject物件,表示擁有此字串。
farmIsParent
Type: System.Boolean若要設定為SPFarm物件的父代基底SPPersistedObjecttrue若要將它設為"owner"參數false 。
備註
此建構函式farmIsParent參數可讓您變更父結構。此參數的值是專屬於您實作。