Upravit

Sdílet prostřednictvím


ServerPolicy Interface

Definition

Represents a policy specified for a document type stored on a server running Office SharePoint Server 2007.

public interface class ServerPolicy : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0390-0000-0000-C000-000000000046")]
public interface ServerPolicy : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C0390-0000-0000-C000-000000000046")>]
type ServerPolicy = interface
    interface _IMsoDispObj
Public Interface ServerPolicy
Implements _IMsoDispObj
Attributes
Implements

Remarks

The ServerPolicy object is composed of individual PolicyItem objects representing the individual policy definitions for the active document.

Properties

Application

Gets an Application object that represents the container application for the ServerPolicy object. Read-only.

BlockPreview

Gets a Boolean value that indicates whether you can preview items using this policy. Read-only.

Count

Gets the number of items in the ServerPolicy collection. Read-only.

Creator

Gets a 32-bit integer that indicates the application in which the ServerPolicy object was created. Read-only.

Description

A description of what the server policy is and its purpose. Read-only.

Id

Gets the ID of a server policy. Read-only.

Item[Object]

Gets a PolicyItem object from the ServerPolicy collection. Read-only.

Name

Gets the name of the ServerPolicy object. Read-only.

Parent

Gets the parent object for the ServerPolicy object. Read-only.

Statement

Gets the information specified in the Policy Statement. Read-only.

Applies to