WorkbookClass.ProtectSharing Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Public Overridable Sub ProtectSharing ( _
Filename As Object, _
Password As Object, _
WriteResPassword As Object, _
ReadOnlyRecommended As Object, _
CreateBackup As Object, _
SharingPassword As Object _
)
'Usage
Dim instance As WorkbookClass
Dim Filename As Object
Dim Password As Object
Dim WriteResPassword As Object
Dim ReadOnlyRecommended As Object
Dim CreateBackup As Object
Dim SharingPassword As Object
instance.ProtectSharing(Filename, Password, _
WriteResPassword, ReadOnlyRecommended, _
CreateBackup, SharingPassword)
public virtual void ProtectSharing(
Object Filename,
Object Password,
Object WriteResPassword,
Object ReadOnlyRecommended,
Object CreateBackup,
Object SharingPassword
)
Parameters
- Filename
Type: System.Object
- Password
Type: System.Object
- WriteResPassword
Type: System.Object
- ReadOnlyRecommended
Type: System.Object
- CreateBackup
Type: System.Object
- SharingPassword
Type: System.Object
Implements
_Workbook.ProtectSharing(Object, Object, Object, Object, Object, Object)