Records.GetRecordDefinitionForSite Records.GetRecordDefinitionForSite Records.GetRecordDefinitionForSite Method

Definition

Overloads

GetRecordDefinitionForSite(SPSite) GetRecordDefinitionForSite(SPSite) GetRecordDefinitionForSite(SPSite)

Gets the record restrictions setting for the specified site.

GetRecordDefinitionForSite(Guid) GetRecordDefinitionForSite(Guid) GetRecordDefinitionForSite(Guid)

Gets the record restrictions setting for the site with the specified GUID.

GetRecordDefinitionForSite(SPSite) GetRecordDefinitionForSite(SPSite) GetRecordDefinitionForSite(SPSite)

Gets the record restrictions setting for the specified site.

public:
 static Microsoft::Office::RecordsManagement::RecordsRepository::RecordRestrictions GetRecordDefinitionForSite(Microsoft::SharePoint::SPSite ^ site);
public static Microsoft.Office.RecordsManagement.RecordsRepository.RecordRestrictions GetRecordDefinitionForSite (Microsoft.SharePoint.SPSite site);
Public Shared Function GetRecordDefinitionForSite (site As SPSite) As RecordRestrictions
Parameters
site
SPSite SPSite SPSite

The site to get record restrictions for.

Returns

GetRecordDefinitionForSite(Guid) GetRecordDefinitionForSite(Guid) GetRecordDefinitionForSite(Guid)

Warning

This API is now obsolete.

Gets the record restrictions setting for the site with the specified GUID.

public:
 static Microsoft::Office::RecordsManagement::RecordsRepository::RecordRestrictions GetRecordDefinitionForSite(Guid siteId);
[System.Obsolete("TODO(SCrock): Remove this overload.")]
public static Microsoft.Office.RecordsManagement.RecordsRepository.RecordRestrictions GetRecordDefinitionForSite (Guid siteId);
Public Shared Function GetRecordDefinitionForSite (siteId As Guid) As RecordRestrictions
Parameters
siteId
Guid Guid Guid

The GUID of the site to get the record restriction setting.

Returns

Applies to