Свойство RoleDefinition.Name
Gets or sets a value that specifies the role definition name.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Property Name As String
Get
Set
'Применение
Dim instance As RoleDefinition
Dim value As String
value = instance.Name
instance.Name = value
public string Name { get; set; }
Значение свойства
Тип: System.String
Returns a String instance representing the role definition name.
Исключения
Исключение | Условие |
---|---|
[System.InvalidOperationException] | Role definition is inherited from a parent site. Error code: -1. |
Замечания
It must not be пустая ссылка (Nothing в Visual Basic). It must not be empty. Its length must be equal to or less than 255. Must not contain any of the following characters: /\[]:|<>+=;,?*'"@